This series removes some duplicate RTC driver code. rtc-m48t59 is tweaked
to bring it into equivalence with the RTC drivers in arch/m68k/mvme*.
Then the latter drivers are removed and platform devices added to make use
of the former.
The second patch depends upon the first, which will require some
coordination between the maintainers of the RTC and m68k subsystems.
Finn Thain (2):
rtc: m48t59: Accommodate chips that lack a century bit
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 | 54 ++++-----
arch/m68k/mvme16x/Makefile | 2 +-
arch/m68k/mvme16x/config.c | 56 ++++------
arch/m68k/mvme16x/rtc.c | 165 ----------------------------
drivers/rtc/rtc-m48t59.c | 31 +++---
10 files changed, 67 insertions(+), 281 deletions(-)
delete mode 100644 arch/m68k/mvme16x/rtc.c
--
2.39.5