rtc: rtc-max6902 fixes
authorAlessandro Zummo <a.zummo@towertech.it>
Tue, 6 Jan 2009 22:42:19 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:24 +0000 (15:59 -0800)
commita5771c6c42826556a73b16b66f93a0936ff87d4e
tree537b8e3512da77b0ea490e8a47cc77fc7abf7810
parent45fd8a0c14884b2d8f2a31f71c72dedbaeeb33f2
rtc: rtc-max6902 fixes

- 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 <a.zummo@towertech.it>
Acked-by: David Brownell <david-b@pacbell.net>
Cc: Raphael Assenat <raph@raphnet.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-max6902.c