This converts the DP8570A RTC driver to the RTC class, instead of directly implementing the /dev/rtc RTC_RD_TIME and RTC_SET_TIME. This will get rid of the last RTC_MINOR user in the kernel tree. This has only been built-tested. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxx> --- Thadeu Lima de Souza Cascardo (2): m68k: rtc: dp8570a: split read_time and set_time m68k: rtc: dp8570a: make it a proper RTC class driver arch/m68k/bvme6000/rtc.c | 207 +++++++++++++++++++---------------------------- 1 file changed, 82 insertions(+), 125 deletions(-) --- base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6 change-id: 20250225-m68k-rtc-c4635a8e0160 Best regards, -- Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxx>