<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hwmon/ds1621.c, branch linux-4.16.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2017-01-02T18:19:45+00:00</updated>
<entry>
<title>hwmon: (ds1621) use permission-specific DEVICE_ATTR variants</title>
<updated>2017-01-02T18:19:45+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2016-12-22T12:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=345d52fa37132b8fa281e77a18835515037fa877'/>
<id>urn:sha1:345d52fa37132b8fa281e77a18835515037fa877</id>
<content type='text'>
Use DEVICE_ATTR_RO for read only attributes and DEVICE_ATTR_RW for
read/write attributes. This simplifies the source code, improves
readbility, and reduces the chance of inconsistencies.

The conversion was done automatically using coccinelle. It was validated
by compiling both the old and the new source code and comparing its text,
data, and bss size.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
[groeck: Updated description]
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) Update zbits after conversion rate change</title>
<updated>2014-08-28T18:18:47+00:00</updated>
<author>
<name>Robert Coulson</name>
<email>rob.coulson@gmail.com</email>
</author>
<published>2014-08-28T17:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=39c627a084475e8a690a4a9e7601410ca173ddd2'/>
<id>urn:sha1:39c627a084475e8a690a4a9e7601410ca173ddd2</id>
<content type='text'>
After the conversion rate is changed, the zbits are not updated,
but should be, since they are used later in the set_temp function.

Fixes: a50d9a4d9ad3 ("hwmon: (ds1621) Fix temperature rounding operations")
Reported-by: Murat Ilsever &lt;murat.ilsever@gmail.com&gt;
Signed-off-by: Robert Coulson &lt;rob.coulson@gmail.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>Update Jean Delvare's e-mail address</title>
<updated>2014-01-29T19:40:08+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2014-01-29T19:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7c81c60f3789a082e141d7a013392af5f78db16a'/>
<id>urn:sha1:7c81c60f3789a082e141d7a013392af5f78db16a</id>
<content type='text'>
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) fix coccinelle warnings</title>
<updated>2013-10-18T16:11:59+00:00</updated>
<author>
<name>Fengguang Wu</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2013-09-18T03:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=31ab1ad70b25f4e19f6442e8f6d68025ba43b942'/>
<id>urn:sha1:31ab1ad70b25f4e19f6442e8f6d68025ba43b942</id>
<content type='text'>
drivers/hwmon/ds1621.c:381:1-3: WARNING: PTR_RET can be used

 Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: coccinelle/api/ptr_ret.cocci

CC: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) Convert to use devm_hwmon_device_register_with_groups</title>
<updated>2013-10-13T23:16:28+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-07-12T05:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0d36dce0f1d15a9ca55f893b3aa5ce7c297e11c8'/>
<id>urn:sha1:0d36dce0f1d15a9ca55f893b3aa5ce7c297e11c8</id>
<content type='text'>
Also use new macro __ATTRIBUTE_GROUPS to declare attribute groups.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) Convert to use hwmon_device_register_with_groups</title>
<updated>2013-10-13T23:16:27+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-07-06T05:30:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8269b75ae72c4501df7caf93d053526cef7e8a8a'/>
<id>urn:sha1:8269b75ae72c4501df7caf93d053526cef7e8a8a</id>
<content type='text'>
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) Fix temperature rounding operations</title>
<updated>2013-06-28T13:43:55+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-06-27T17:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a50d9a4d9ad3c71341788099d733e4151b8a511b'/>
<id>urn:sha1:a50d9a4d9ad3c71341788099d733e4151b8a511b</id>
<content type='text'>
Commit "hwmon: (ds1621) Add ds1721 chip support" broke rounding
for chips or configurations with less than 12 bit resolution.

Tested-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) Add DS1731 chip support to ds1621 driver</title>
<updated>2013-06-27T17:30:43+00:00</updated>
<author>
<name>Robert Coulson</name>
<email>rob.coulson@gmail.com</email>
</author>
<published>2013-06-11T01:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=260f81ffc1b9f09dde355caa09e4b312756666f0'/>
<id>urn:sha1:260f81ffc1b9f09dde355caa09e4b312756666f0</id>
<content type='text'>
These changes add DS1731 chip support to the ds1621 driver,
Kconfig, and documentation.

Signed-off-by: Robert Coulson &lt;rob.coulson@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) Remove detect function</title>
<updated>2013-06-27T17:29:02+00:00</updated>
<author>
<name>Robert Coulson</name>
<email>rob.coulson@gmail.com</email>
</author>
<published>2013-05-23T16:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ed7c34e89d1e9d07f787a51571be0b96ae93d678'/>
<id>urn:sha1:ed7c34e89d1e9d07f787a51571be0b96ae93d678</id>
<content type='text'>
Due to a lack of device and vendor identification registers, the
Dallas/Maxim DS16xx devices cannot be uniquely detected, sometimes
resulting in false positives. Therefore, the detect function is
being removed in favor of explicit device instantiation.

Signed-off-by: Robert Coulson &lt;rob.coulson@gmail.com&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ds1621) Add ds1631 chip support to ds1621 driver and documentation</title>
<updated>2013-06-27T17:29:02+00:00</updated>
<author>
<name>Robert Coulson</name>
<email>rob.coulson@gmail.com</email>
</author>
<published>2013-05-16T22:10:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=79c1cc1c90c0ccaddd20965ea19205c54addd5f7'/>
<id>urn:sha1:79c1cc1c90c0ccaddd20965ea19205c54addd5f7</id>
<content type='text'>
Add definitions, information, and code for ds1631 chip support
to the ds1621 driver.

Signed-off-by: Robert Coulson &lt;rob.coulson@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
