]> git.karo-electronics.de Git - karo-tx-linux.git/commit
char/genrtc: remove mn10300 support
authorArnd Bergmann <arnd@arndb.de>
Mon, 30 May 2016 18:57:54 +0000 (20:57 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 3 Jun 2016 22:23:03 +0000 (00:23 +0200)
commit7ee942179fd8d485cedaf1875f81c5ee7a3ebeae
treea9d8f90838bc925335300ed2b15dfa3111342409
parent1cb1e35327b0cb95f33ab39365bc745e8399f384
char/genrtc: remove mn10300 support

The genrtc driver serves no purpose on mn10300 because it drives the
same hardware as the original rtc.c driver, and the newer rtc-generic.c
or rtc-cmos.c drivers on architectures that use the asm-generic/rtc.h
header.

I assume it was initially only added for completeness when the
mn10300 port was done, but the older rtc.c driver was always used
instead.

We can also stop include asm-generic/rtc.h now, because we
just call mc146818_set_time() directly.

It would be nice to change the architecture to use the rtc-cmos driver
next, and remove support for the old rtc driver as well.

[linux@roeck-us.net: Add missing include file to proc-init.c]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/mn10300/include/asm/rtc.h
arch/mn10300/kernel/rtc.c
arch/mn10300/proc-mn103e010/proc-init.c
arch/mn10300/proc-mn2ws0050/proc-init.c
drivers/char/Kconfig