<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/rtc/rtc-max6902.c, branch v3.4.83</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/rtc/rtc-max6902.c?h=v3.4.83</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/rtc/rtc-max6902.c?h=v3.4.83'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-03-23T23:58:39Z</updated>
<entry>
<title>rtc: convert rtc spi drivers to module_spi_driver</title>
<updated>2012-03-23T23:58:39Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-03-23T22:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=109e941843893cb1b4f7bed24c615ba84ce00ff5'/>
<id>urn:sha1:109e941843893cb1b4f7bed24c615ba84ce00ff5</id>
<content type='text'>
Factor out some boilerplate code for spi driver registration into
module_spi_driver.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Mark Jackson &lt;mpfj@mimc.co.uk&gt;
Cc: Dennis Aberilla &lt;denzzzhome@yahoo.com&gt;
Cc: Nikolaus Voss &lt;n.voss@weinmann.de&gt;
Cc: "Kim B. Heino" &lt;Kim.Heino@bluegiga.com&gt;
Cc: Raphael Assenat &lt;raph@raphnet.net&gt;
Cc: Chris Verges &lt;chrisv@cyberswitching.com&gt;
Cc: Magnus Damm &lt;damm@opensource.se&gt;
Cc: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&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>drivers/rtc/: remove redundant spi driver bus initialization</title>
<updated>2012-01-11T00:30:53Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2012-01-10T23:10:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6c3fb55793f79bc975df0494c4d56ea6f0b0cc45'/>
<id>urn:sha1:6c3fb55793f79bc975df0494c4d56ea6f0b0cc45</id>
<content type='text'>
In ancient times it was necessary to manually initialize the bus field of
an spi_driver to spi_bus_type.  These days this is done in
spi_driver_register(), so we can drop the manual assignment.

The patch was generated using the following coccinelle semantic patch:
// &lt;smpl&gt;
@@
identifier _driver;
@@
struct spi_driver _driver = {
	.driver = {
-		.bus = &amp;spi_bus_type,
	},
};
// &lt;/smpl&gt;

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Cc: John Stultz &lt;john.stultz@linaro.org&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&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>rtc: rtc-max6902 - set driver data in max6902_probe()</title>
<updated>2011-01-13T16:03:12Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2011-01-13T01:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5f003feba2a8761d2ee7b367df5a0fe6b729dc8f'/>
<id>urn:sha1:5f003feba2a8761d2ee7b367df5a0fe6b729dc8f</id>
<content type='text'>
Current implementation does not set driver data in max6902_probe(), thus
calling platform_get_drvdata(spi) in max6902_remove() returns NULL.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&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>spi: prefix modalias with "spi:"</title>
<updated>2009-09-23T14:39:43Z</updated>
<author>
<name>Anton Vorontsov</name>
<email>avorontsov@ru.mvista.com</email>
</author>
<published>2009-09-22T23:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e0626e3844e8f430fc1a4417f523a00797df7ca6'/>
<id>urn:sha1:e0626e3844e8f430fc1a4417f523a00797df7ca6</id>
<content type='text'>
This makes it consistent with other buses (platform, i2c, vio, ...).  I'm
not sure why we use the prefixes, but there must be a reason.

This was easy enough to do it, and I did it.

Signed-off-by: Anton Vorontsov &lt;avorontsov@ru.mvista.com&gt;
Cc: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Ben Dooks &lt;ben-linux@fluff.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Cc: Samuel Ortiz &lt;sameo@openedhand.com&gt;
Cc: "John W. Linville" &lt;linville@tuxdriver.com&gt;
Acked-by: Mike Frysinger &lt;vapier.adi@gmail.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>rtc: rtc-max6902 fixes</title>
<updated>2009-01-06T23:59:24Z</updated>
<author>
<name>Alessandro Zummo</name>
<email>a.zummo@towertech.it</email>
</author>
<published>2009-01-06T22:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a5771c6c42826556a73b16b66f93a0936ff87d4e'/>
<id>urn:sha1:a5771c6c42826556a73b16b66f93a0936ff87d4e</id>
<content type='text'>
- no changelogs in code
- no banners
- use local buffers
- fix probe sequence
- fixed style issues
- fix spi_write call
- removed old debug code

replaces http://patchwork.ozlabs.org/patch/9421/
and http://patchwork.ozlabs.org/patch/9455/

Signed-off-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Acked-by: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Raphael Assenat &lt;raph@raphnet.net&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>drivers/rtc/: use bcd2bin/bin2bcd</title>
<updated>2008-10-20T15:52:41Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-10-19T03:28:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fe20ba70abf7d6e5855c3dacc729490b3d0d077f'/>
<id>urn:sha1:fe20ba70abf7d6e5855c3dacc729490b3d0d077f</id>
<content type='text'>
Change drivers/rtc/ to use the new bcd2bin/bin2bcd functions instead of
the obsolete BCD_TO_BIN/BIN_TO_BCD/BCD2BIN/BIN2BCD macros.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Acked-by: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: David Brownell &lt;david-b@pacbell.net&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>removed unused #include &lt;linux/version.h&gt;'s</title>
<updated>2008-08-23T19:14:12Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-08-17T14:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7a8fc9b248e77a4eab0613acf30a6811799786b3'/>
<id>urn:sha1:7a8fc9b248e77a4eab0613acf30a6811799786b3</id>
<content type='text'>
This patch lets the files using linux/version.h match the files that
#include it.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rtc: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-28T15:58:17Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-04-28T09:12:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2a4e2b8780c6df42b19c053243dada7fa4d311ee'/>
<id>urn:sha1:2a4e2b8780c6df42b19c053243dada7fa4d311ee</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&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>spi: use simplified spi_sync() calling convention</title>
<updated>2007-12-05T17:21:19Z</updated>
<author>
<name>Marc Pignat</name>
<email>marc.pignat@hevs.ch</email>
</author>
<published>2007-12-05T07:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c24b2602af88db4489c6c3fb4b2a8e47fb15769b'/>
<id>urn:sha1:c24b2602af88db4489c6c3fb4b2a8e47fb15769b</id>
<content type='text'>
Given the patch which simplifies the spi_sync calling convention, this one
updates the callers of that routine which tried using it according to the
previous specification.  (Most didn't.)

Signed-off-by: Marc Pignat &lt;marc.pignat@hevs.ch&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&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>rtc-max6902 minor fixes</title>
<updated>2007-08-23T02:52:47Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2007-08-22T21:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5c076fce2e217240b44bc753a5ec8ecd379c6eb9'/>
<id>urn:sha1:5c076fce2e217240b44bc753a5ec8ecd379c6eb9</id>
<content type='text'>
Minor tweaks to rtc-max6902: make it hotplug correctly, and fix a few
space-before-tab whitespace botches.  This driver has no current in-tree
users, so the hotplug fix changes the driver name.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&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>
