rtc: pxa27x/pxa3xx driver fixes, revised
authorAlessandro Zummo <a.zummo@towertech.it>
Tue, 6 Jan 2009 22:42:15 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:24 +0000 (15:59 -0800)
commit0417ce2ad81f719c72e948705134c3d502300d4f
treece1b5aea60a41cb59d84c7021cfaf87992811106
parentdc9443688e76733e43eebe8d6f31cc6dc34ccda9
rtc: pxa27x/pxa3xx driver fixes, revised

Small fixes for the pxa27x/pxa3xx driver

- use platform_driver_probe
- fixed exit paths
- fixed probe sequence
- added missing include
- using linux/io.h instead of asm/io.h

Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pxa.c