<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers/hwmon/ad7314.c, branch master</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2019-05-30T18:25:18+00:00</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 149</title>
<updated>2019-05-30T18:25:18+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-24T10:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=80503b23b23b5b2228d8750b786eb182f2fa28d2'/>
<id>urn:sha1:80503b23b23b5b2228d8750b786eb182f2fa28d2</id>
<content type='text'>
Based on 1 normalized pattern(s):

  licensed under the gpl 2 or later

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 82 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;
Reviewed-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190524100845.150836982@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (ad7314) Use permission specific SENSOR[_DEVICE]_ATTR variants</title>
<updated>2018-12-16T23:13:31+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2018-12-10T22:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=1ba3e02376497661348f6ad9a734287d171f4fd7'/>
<id>urn:sha1:1ba3e02376497661348f6ad9a734287d171f4fd7</id>
<content type='text'>
Use SENSOR[_DEVICE]_ATTR[_2]_{RO,RW,WO} to simplify the source code,
to improve readbility, and to reduce the chance of inconsistencies.

Also replace any remaining S_&lt;PERMS&gt; in the driver with octal values.

The conversion was done automatically with coccinelle. The semantic patches
and the scripts used to generate this commit log are available at
https://github.com/groeck/coccinelle-patches/hwmon/.

This patch does not introduce functional changes. It was verified by
compiling the old and new files and comparing text and data sizes.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ad7314) Convert to devm_hwmon_device_register_with_groups</title>
<updated>2016-06-28T01:58:03+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-07-01T14:29:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=157926c013b39561fd1e3b93f8df96fb0ed17648'/>
<id>urn:sha1:157926c013b39561fd1e3b93f8df96fb0ed17648</id>
<content type='text'>
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>spi: Drop owner assignment from spi_drivers</title>
<updated>2015-10-28T01:30:17+00:00</updated>
<author>
<name>Andrew F. Davis</name>
<email>afd@ti.com</email>
</author>
<published>2015-10-23T13:59:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=3821a065f5672c430a088ae68b4da2a2d2b34106'/>
<id>urn:sha1:3821a065f5672c430a088ae68b4da2a2d2b34106</id>
<content type='text'>
An spi_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Andrew F. Davis &lt;afd@ti.com&gt;
Acked-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (ad7314) Do proper sign extension</title>
<updated>2015-01-26T05:23:59+00:00</updated>
<author>
<name>Rasmus Villemoes</name>
<email>linux@rasmusvillemoes.dk</email>
</author>
<published>2015-01-22T22:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=984faa1fb9175720828bf6604f936dff3f17b995'/>
<id>urn:sha1:984faa1fb9175720828bf6604f936dff3f17b995</id>
<content type='text'>
The comment above (data &lt;&lt; 2) &gt;&gt; 2 explains what the intention is: To
use bit 13 of the 14-bit value data as the sign bit. However, this
doesn't work due to C's promotion rules. data has type s16, but data
&lt;&lt; 2 has type int. To get sign extension, that expression would have
to be cast back to an s16 before being shifted (at which point C's
promotion rules would then kick in again and promote the left operand
to int). As it stands, both expressions are no-ops for any value of
data.

Avoid these subtleties by using the existing API for
this. sign_extend32 works equally well for 8 and 16 bit types.

Signed-off-by: Rasmus Villemoes &lt;linux@rasmusvillemoes.dk&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ad7314) use spi_get_drvdata() and spi_set_drvdata()</title>
<updated>2013-04-08T04:16:42+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-04-05T01:51:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=debe597cca61aacf9e17a4dc155aa84446ab4bf0'/>
<id>urn:sha1:debe597cca61aacf9e17a4dc155aa84446ab4bf0</id>
<content type='text'>
Use the wrapper functions for getting and setting the driver data using
spi_device instead of using dev_{get|set}_drvdata with &amp;spi-&gt;dev, so we
can directly pass a struct spi_device.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: Fix checkpatch warning 'quoted string split across lines'</title>
<updated>2013-04-08T04:16:40+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-01-10T18:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=b55f375725ff85aada394da488802b0a3cc99e88'/>
<id>urn:sha1:b55f375725ff85aada394da488802b0a3cc99e88</id>
<content type='text'>
Cc: Corentin Labbe &lt;corentin.labbe@geomatys.fr&gt;
Cc: Mark M. Hoffman &lt;mhoffman@lightlink.com&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Cc: Juerg Haefliger &lt;juergh@gmail.com&gt;
Cc: Andreas Herrmann &lt;herrmann.der.user@googlemail.com&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Cc: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Cc: Roger Lucas &lt;vt8231@hiddenengine.co.uk&gt;
Cc: Marc Hulsman &lt;m.hulsman@tudelft.nl&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: remove use of __devexit</title>
<updated>2012-11-28T19:50:34+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=281dfd0b6ed5403f5b9b1669f2a37a4f8cfc11c1'/>
<id>urn:sha1:281dfd0b6ed5403f5b9b1669f2a37a4f8cfc11c1</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Alistair John Strachan &lt;alistair@devzero.co.uk&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Cc: Juerg Haefliger &lt;juergh@gmail.com&gt;
Cc: Andreas Herrmann &lt;herrmann.der.user@googlemail.com&gt;
Cc: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Cc: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Cc: "Mark M. Hoffman" &lt;mhoffman@lightlink.com&gt;
Cc: Roger Lucas &lt;vt8231@hiddenengine.co.uk&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>hwmon: remove use of __devinit</title>
<updated>2012-11-28T19:49:40+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=6c931ae1c09a9618852c9619dac71f1f77776e3b'/>
<id>urn:sha1:6c931ae1c09a9618852c9619dac71f1f77776e3b</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Alistair John Strachan &lt;alistair@devzero.co.uk&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Cc: Juerg Haefliger &lt;juergh@gmail.com&gt;
Cc: Andreas Herrmann &lt;herrmann.der.user@googlemail.com&gt;
Cc: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Cc: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Cc: "Mark M. Hoffman" &lt;mhoffman@lightlink.com&gt;
Cc: Roger Lucas &lt;vt8231@hiddenengine.co.uk&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>hwmon: remove use of __devexit_p</title>
<updated>2012-11-28T19:48:59+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45'/>
<id>urn:sha1:9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Alistair John Strachan &lt;alistair@devzero.co.uk&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Cc: Juerg Haefliger &lt;juergh@gmail.com&gt;
Cc: Andreas Herrmann &lt;herrmann.der.user@googlemail.com&gt;
Cc: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Cc: Rudolf Marek &lt;r.marek@assembler.cz&gt;
Cc: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Cc: "Mark M. Hoffman" &lt;mhoffman@lightlink.com&gt;
Cc: Roger Lucas &lt;vt8231@hiddenengine.co.uk&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
