<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/misc/ad525x_dpot.c, branch v4.7-rc4</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v4.7-rc4</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v4.7-rc4'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2016-03-02T00:55:13Z</updated>
<entry>
<title>misc: ad525x_dpot: Fix the enabling of the "otpXen" attributes</title>
<updated>2016-03-02T00:55:13Z</updated>
<author>
<name>Dan Bogdan Nechita</name>
<email>dan.bogdan.nechita@gmail.com</email>
</author>
<published>2016-02-23T09:48:45Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=1bb850a1b7f68b66361e658e334f9fdf8231f17d'/>
<id>urn:sha1:1bb850a1b7f68b66361e658e334f9fdf8231f17d</id>
<content type='text'>
Currently writing the attributes with "echo" will result in comparing:
"enabled\n" with "enabled\0" and attribute is always set to false.

Use the sysfs_streq() instead because it treats both NUL and
new-line-then-NUL as equivalent string terminations.

Signed-off-by: Dan Bogdan Nechita &lt;dan.bogdan.nechita@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/misc/ad525x_dpot: AD5274 fix RDAC read back errors</title>
<updated>2016-03-02T00:55:13Z</updated>
<author>
<name>Michael Hennerich</name>
<email>michael.hennerich@analog.com</email>
</author>
<published>2016-02-22T09:20:24Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=f3df53e4d70b5736368a8fe8aa1bb70c1cb1f577'/>
<id>urn:sha1:f3df53e4d70b5736368a8fe8aa1bb70c1cb1f577</id>
<content type='text'>
Fix RDAC read back errors caused by a typo. Value must shift by 2.

Fixes: a4bd394956f2 ("drivers/misc/ad525x_dpot.c: new features")
Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ad525x_dpot:Remove break after return</title>
<updated>2015-01-12T13:04:12Z</updated>
<author>
<name>Mohammad Jamal</name>
<email>md.jamalmohiuddin@gmail.com</email>
</author>
<published>2014-12-18T01:47:13Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=3d494bba92c4665ab34056bf86a14e02b0e1db22'/>
<id>urn:sha1:3d494bba92c4665ab34056bf86a14e02b0e1db22</id>
<content type='text'>
This patch removes the break statements present after return

Signed-off-by: Mohammad Jamal &lt;md.jamalmohiuddin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ad525x_dpot: Add a blank line after declaration</title>
<updated>2015-01-12T13:04:12Z</updated>
<author>
<name>Mohammad Jamal</name>
<email>md.jamalmohiuddin@gmail.com</email>
</author>
<published>2014-12-18T01:46:26Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=1558455582623b67492f630d11b94d5e4c506e5f'/>
<id>urn:sha1:1558455582623b67492f630d11b94d5e4c506e5f</id>
<content type='text'>
Added a blank line after declaration to fix the warning of checkpatch.pl

Signed-off-by: Mohammad Jamal &lt;md.jamalmohiuddin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/misc: delete non-required instances of include &lt;linux/init.h&gt;</title>
<updated>2014-02-07T23:10:19Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2014-01-21T21:23:07Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=e2527ec3690bc820e5b4288577f79945f4a22d77'/>
<id>urn:sha1:e2527ec3690bc820e5b4288577f79945f4a22d77</id>
<content type='text'>
None of these files are actually using any __init type directives
and hence don't need to include &lt;linux/init.h&gt;.  Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers: misc: Mark functions as static in ad525x_dpot.c</title>
<updated>2013-12-19T00:41:52Z</updated>
<author>
<name>Rashika Kheria</name>
<email>rashika.kheria@gmail.com</email>
</author>
<published>2013-12-13T06:57:10Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=1bdd2c45ccc2b1801e3b114fe6fd008439c6c5a9'/>
<id>urn:sha1:1bdd2c45ccc2b1801e3b114fe6fd008439c6c5a9</id>
<content type='text'>
This patch marks the function ad_dpot_add_files() and
ad_dpot_remove_files() as static in ad525x_dpot.c because they are not
used outside this file.

Thus, it also eliminates the following warnings in ad525x_dpot.c:
drivers/misc/ad525x_dpot.c:644:5: warning: no previous prototype for ‘ad_dpot_add_files’ [-Wmissing-prototypes]
drivers/misc/ad525x_dpot.c:669:13: warning: no previous prototype for ‘ad_dpot_remove_files’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria &lt;rashika.kheria@gmail.com&gt;
Reviewed-by: Josh Triplett &lt;josh@joshtriplett.org&gt;
Acked-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: replace strict_strtoul() with kstrtoul()</title>
<updated>2013-06-06T19:54:08Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-06-04T04:15:16Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=f7b41276b6b07f47c5f5212fa244385b0e3aaa30'/>
<id>urn:sha1:f7b41276b6b07f47c5f5212fa244385b0e3aaa30</id>
<content type='text'>
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: remove use of __devinit</title>
<updated>2012-11-21T20:51:53Z</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:23:05Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=80c8ae289266529445fad030fabf5fcf01ccda0d'/>
<id>urn:sha1:80c8ae289266529445fad030fabf5fcf01ccda0d</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: "Michał Mirosław" &lt;mirq-linux@rere.qmqm.pl&gt;
Cc: Eric Piel &lt;eric.piel@tremplin-utc.net&gt;
Cc: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: do not mark exported functions __devexit</title>
<updated>2012-04-18T21:54:31Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2012-04-14T16:25:04Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=0ed0d579cb19e00acda762bad0d526477833c4e7'/>
<id>urn:sha1:0ed0d579cb19e00acda762bad0d526477833c4e7</id>
<content type='text'>
No symbol can be exported when the section is discarded - the only
solution I could think of is not to mark symbols as __devexit
when they are exported.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: ad525x_dpot: Add support for SPI module device table matching</title>
<updated>2011-11-18T19:27:02Z</updated>
<author>
<name>Michael Hennerich</name>
<email>michael.hennerich@analog.com</email>
</author>
<published>2011-11-18T10:05:11Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7f3379de9cd91e52c40a48b8c01ebdb2d2eec5cf'/>
<id>urn:sha1:7f3379de9cd91e52c40a48b8c01ebdb2d2eec5cf</id>
<content type='text'>
Passing device name via platform data, is a leftover from times where
SPI module device table matching was not existent.

* Add id_table and remove old mechanism.
(To my knowledge no intree boards affected)
* Miscellaneous other cleanup.

Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
