This series removes some duplicated RTC driver code.
First rtc-m48t59 is tweaked to bring it into equivalence with the RTC
drivers in arch/m68k/mvme*. Then platform devices are added for the
former driver and the latter drivers are removed.
---
Changed since v1:
- Instead of adding ifdefs to the portable driver, store the year offset
in struct m48t59_plat_data.
Finn Thain (2):
rtc: m48t59: Use platform_data struct for year offset value
m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver
arch/m68k/configs/multi_defconfig | 1 +
arch/m68k/configs/mvme147_defconfig | 1 +
arch/m68k/configs/mvme16x_defconfig | 1 +
arch/m68k/include/asm/mvme147hw.h | 19 +---
arch/m68k/include/asm/mvme16xhw.h | 18 +--
arch/m68k/mvme147/config.c | 55 ++++------
arch/m68k/mvme16x/Makefile | 2 +-
arch/m68k/mvme16x/config.c | 57 ++++------
arch/m68k/mvme16x/rtc.c | 165 ----------------------------
arch/sparc/kernel/time_32.c | 1 +
arch/sparc/kernel/time_64.c | 1 +
drivers/rtc/rtc-m48t59.c | 26 +----
include/linux/rtc/m48t59.h | 3 +
13 files changed, 63 insertions(+), 287 deletions(-)
delete mode 100644 arch/m68k/mvme16x/rtc.c
--
2.39.5