<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/misc/apds9802als.c, branch linux-4.3.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.3.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2014-02-07T23:10:19+00:00</updated>
<entry>
<title>drivers/misc: delete non-required instances of include &lt;linux/init.h&gt;</title>
<updated>2014-02-07T23:10:19+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2014-01-21T21:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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>misc: replace strict_strtoul() with kstrtoul()</title>
<updated>2013-06-06T19:54:08+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-06-04T04:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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: apds9802als: Fix suspend/resume</title>
<updated>2013-04-11T19:39:02+00:00</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2013-04-11T09:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1c9354b0973a59a0292ec64e0b4dde7b9462931a'/>
<id>urn:sha1:1c9354b0973a59a0292ec64e0b4dde7b9462931a</id>
<content type='text'>
The apds9802als driver implements runtime pm and at the same time uses the
legacy pm callbacks for suspend and resume. This does not work since the i2c
core wont look at the legacy pm callbacks if a driver has the 'pm' field set.
This patch fixes it by moving over to dev_pm_ops for suspend/resume as well.
Since both runtime pm and suspend/resume behave the same way this can easily be
done using the UNIVERSAL_DEV_PM_OPS macro.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Cc: Hong Liu &lt;hong.liu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: remove use of __devexit</title>
<updated>2012-11-21T20:53:32+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:26:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=486a5c28c2e7d6a80c393ac7d612b77d80447b84'/>
<id>urn:sha1:486a5c28c2e7d6a80c393ac7d612b77d80447b84</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: "Michał Mirosław" &lt;mirq-linux@rere.qmqm.pl&gt;
Cc: Wolfram Sang &lt;w.sang@pengutronix.de&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>drivers/misc: remove use of __devexit_p</title>
<updated>2012-11-21T20:49:50+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2d6bed9ca93e98685bc5038d686984fd449cd978'/>
<id>urn:sha1:2d6bed9ca93e98685bc5038d686984fd449cd978</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: "Michał Mirosław" &lt;mirq-linux@rere.qmqm.pl&gt;
Cc: Wolfram Sang &lt;w.sang@pengutronix.de&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: apds9802als: Fix the logic checking timeout in als_wait_for_data_ready()</title>
<updated>2012-11-16T12:53:08+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2012-11-16T09:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=644a9d3b66e6983c2c1f3b24c3006d49b184c871'/>
<id>urn:sha1:644a9d3b66e6983c2c1f3b24c3006d49b184c871</id>
<content type='text'>
In the case of timeout waiting for data ready, the retry variable is -1.
This also fixes a bug: current code returns -ETIMEDOUT if latest retry success
( which means retry is 0 when exiting the while loop ).

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>MISC: convert drivers/misc/* to use module_i2c_driver()</title>
<updated>2012-01-25T00:31:49+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-01-22T07:36:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a64fe2ed76614d37abb6966a67f4f39d10efba3c'/>
<id>urn:sha1:a64fe2ed76614d37abb6966a67f4f39d10efba3c</id>
<content type='text'>
This patch converts the drivers in drivers/misc/* to use the
module_i2c_driver() macro which makes the code smaller and a bit
simpler.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Michael Hennerich &lt;hennerich@blackfin.uclinux.org&gt;
Cc: Anantha Narayanan &lt;Anantha.Narayanan@intel.com&gt;
Cc: Hemanth V &lt;hemanthv@ti.com&gt;
Cc: Christoph Mair &lt;christoph.mair@gmail.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Ben Gardner &lt;bgardner@wabtec.com&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Kalhan Trisal &lt;kalhan.trisal@intel.com&gt;
Cc: Darrick J. Wong &lt;djwong@us.ibm.com&gt;
Cc: Daniel Mack &lt;zonque@gmail.com&gt;
Cc: Rodolfo Giometti &lt;giometti@linux.it&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>drivers/misc/apds9802als.c: put the device into runtime suspend after resume()/probe() is handled</title>
<updated>2011-03-23T00:44:10+00:00</updated>
<author>
<name>Hong Liu</name>
<email>hong.liu@intel.com</email>
</author>
<published>2011-03-22T23:33:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4e6735992392ecd393674119aef9ec7bff9be5b0'/>
<id>urn:sha1:4e6735992392ecd393674119aef9ec7bff9be5b0</id>
<content type='text'>
Put the device into runtime suspend after resume()/probe() is handled by
the PM core and the device core code.  No need to manually add them in
each single driver.  And correct the runtime state in remove().

Signed-off-by: Hong Liu &lt;hong.liu@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>i2c: Remove obsolete cleanup for clientdata</title>
<updated>2010-11-15T21:40:38+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>w.sang@pengutronix.de</email>
</author>
<published>2010-11-15T21:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dc6641be0ea8819ef095fdcefc2b695611999a21'/>
<id>urn:sha1:dc6641be0ea8819ef095fdcefc2b695611999a21</id>
<content type='text'>
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Acked-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>drivers/misc/apds9802als.c: fix signedness bug</title>
<updated>2010-11-12T15:55:31+00:00</updated>
<author>
<name>Vasiliy Kulikov</name>
<email>segooon@gmail.com</email>
</author>
<published>2010-11-11T22:05:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1093736b3c34319b8f1825a4423414d9cf397d73'/>
<id>urn:sha1:1093736b3c34319b8f1825a4423414d9cf397d73</id>
<content type='text'>
i2c_smbus_read_byte_data() may return negative error code.  This is not
seen to als_sensing_range_store() as the result is stored in unsigned int.

Made it signed.

Signed-off-by: Vasiliy Kulikov &lt;segooon@gmail.com&gt;
Cc: Hong Liu &lt;hong.liu@intel.com&gt;
Cc: Alan Cox &lt;alan@linux.intel.com&gt;
Cc: Anantha Narayanan &lt;anantha.narayanan@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
