The m32r architecture was the only user of the old-style
rtc driver for ds1302. The architecture is getting removed
now, and we have a modern driver for the same hardware in
drivers/rtc/rtc-ds1302.c, so this one won't be missed.

Signed-off-by: Arnd Bergmann <a...@arndb.de>
---
 drivers/char/Kconfig  |   9 --
 drivers/char/Makefile |   1 -
 drivers/char/ds1302.c | 357 --------------------------------------------------
 3 files changed, 367 deletions(-)
 delete mode 100644 drivers/char/ds1302.c

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index c28dca0c613d..3f9561186ad7 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -346,15 +346,6 @@ config EFI_RTC
        bool "EFI Real Time Clock Services"
        depends on IA64
 
-config DS1302
-       tristate "DS1302 RTC support"
-       depends on M32R && (PLAT_M32700UT || PLAT_OPSPUT)
-       help
-         If you say Y here and create a character special file /dev/rtc with
-         major number 121 and minor number 0 using mknod ("man mknod"), you
-         will get access to the real time clock (or hardware clock) built
-         into your computer.
-
 endif # RTC_LIB
 
 config DTLK
diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index 7dc3abe66464..4a34a71fe3d7 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -26,7 +26,6 @@ obj-$(CONFIG_SONYPI)          += sonypi.o
 obj-$(CONFIG_RTC)              += rtc.o
 obj-$(CONFIG_HPET)             += hpet.o
 obj-$(CONFIG_EFI_RTC)          += efirtc.o
-obj-$(CONFIG_DS1302)           += ds1302.o
 obj-$(CONFIG_XILINX_HWICAP)    += xilinx_hwicap/
 ifeq ($(CONFIG_GENERIC_NVRAM),y)
   obj-$(CONFIG_NVRAM)  += generic_nvram.o
diff --git a/drivers/char/ds1302.c b/drivers/char/ds1302.c
deleted file mode 100644
index 8e16ad5d6d89..000000000000
-- 
2.9.0

Reply via email to