sh: dreamcast: rtc: push down rtc class ops into driver
authorArnd Bergmann <arnd@arndb.de>
Wed, 24 Jan 2018 14:04:31 +0000 (15:04 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 18 Dec 2018 15:13:04 +0000 (16:13 +0100)
commitb0495e4b67b230cdb8a7ba244cd260e529c53b84
tree9ba823e12943afe0780107b795e445c2631c86ec
parent2367c4b5fa09b2947d03c5cd23d7bc0200b7fe4f
sh: dreamcast: rtc: push down rtc class ops into driver

The SH RTC support has an extra level of indirection to provide
either the old read_persistent_clock/update_persistent_clock
interface or the rtc-generic device for hctosys/systohc.

Both do the same thing for dreamcast, so we can do away with the
abstraction and simply let the RTC core code to take care of it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sh/boards/mach-dreamcast/Makefile
arch/sh/boards/mach-dreamcast/rtc.c
arch/sh/boards/mach-dreamcast/setup.c
arch/sh/configs/dreamcast_defconfig
arch/sh/include/mach-dreamcast/mach/sysasic.h