rtc: omap: add helper to read raw bcd time
authorJohan Hovold <[email protected]>
Wed, 10 Dec 2014 23:53:07 +0000 (15:53 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Dec 2014 01:41:14 +0000 (17:41 -0800)
commitcbbe326fa8ad0fddb91e2d77d992d95e9137412d
treeac3983ae2bc0ace7b4fd02f02efa74c16cab0252
parent9291e340fc630b62552fe9dcffca0a1706da5410
rtc: omap: add helper to read raw bcd time

Add helper to read raw BCD time that can be used in interrupt context.

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