diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-05-30 21:57:55 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-06-04 01:23:04 +0300 |
commit | ca6da801878635bfb851088e1a4eaa3745720582 (patch) | |
tree | c3a5e2e01e9c5237a60e94bc0db9ff4781693da2 /drivers/block/smart1,2.h | |
parent | 7ee942179fd8d485cedaf1875f81c5ee7a3ebeae (diff) | |
download | linux-ca6da801878635bfb851088e1a4eaa3745720582.tar.xz |
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/block/smart1,2.h')
0 files changed, 0 insertions, 0 deletions