rtc: omap: clean up probe error handling
authorJohan Hovold <[email protected]>
Wed, 10 Dec 2014 23:52:40 +0000 (15:52 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Dec 2014 01:41:13 +0000 (17:41 -0800)
commit437b37a66a224471b669e9d3c791e908e47e804d
treef5b5334494c61d7d8adccd6e8c47982e36a492e5
parent1ed8b5d26c33d5c95845be7d51aae2bf6f1b053c
rtc: omap: clean up probe error handling

Remove some debug messages and return errors from subsystems rather than
always fail with -EIO.

Note that the class-registration error has already been logged by rtc
core.

Signed-off-by: Johan Hovold <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Benot Cousson <[email protected]>
Cc: Lokesh Vutla <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Sekhar Nori <[email protected]>
Cc: Tero Kristo <[email protected]>
Cc: Keerthy J <[email protected]>
Tested-by: Felipe Balbi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-omap.c