All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] MVME: Adopt standard RTC driver
@ 2024-10-08  8:51 Finn Thain
  2024-10-08  8:51 ` [PATCH v3 2/2] m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver Finn Thain
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Finn Thain @ 2024-10-08  8:51 UTC (permalink / raw)
  To: Alexandre Belloni, Andreas Larsson, David S. Miller,
	Geert Uytterhoeven
  Cc: Daniel Palmer, Michael Pavone, linux-kernel, linux-m68k,
	linux-rtc, sparclinux

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.

Changed since v2:
 - Use an int for 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-11  9:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08  8:51 [PATCH v3 0/2] MVME: Adopt standard RTC driver Finn Thain
2024-10-08  8:51 ` [PATCH v3 2/2] m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver Finn Thain
2024-11-05 14:21   ` Geert Uytterhoeven
2024-11-11  9:27   ` Geert Uytterhoeven
2024-10-08  8:51 ` [PATCH v3 1/2] rtc: m48t59: Use platform_data struct for year offset value Finn Thain
2024-10-08  9:19   ` Geert Uytterhoeven
2024-11-06  0:03 ` [PATCH v3 0/2] MVME: Adopt standard RTC driver Finn Thain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.