diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-05-30 20:57:55 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-06-04 00:23:04 +0200 |
commit | ca6da801878635bfb851088e1a4eaa3745720582 (patch) | |
tree | c3a5e2e01e9c5237a60e94bc0db9ff4781693da2 /drivers/rtc/rtc-mpc5121.c | |
parent | char/genrtc: remove mn10300 support (diff) | |
download | linux-ca6da801878635bfb851088e1a4eaa3745720582.tar.xz linux-ca6da801878635bfb851088e1a4eaa3745720582.zip |
rtc: parisc: provide rtc_class_ops directly
The rtc-generic driver provides an architecture specific
wrapper on top of the generic rtc_class_ops abstraction,
and on pa-risc, that is implemented using an open-coded
version of rtc_time_to_tm/rtc_tm_to_time.
This changes the parisc rtc-generic device to provide its
rtc_class_ops directly, using the normal helper functions,
which makes this y2038 safe (on 32-bit) and simplifies
the implementation.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-mpc5121.c')
0 files changed, 0 insertions, 0 deletions