rtc: ds1337: Remove various legacy code and update dependencies
PATCH 1/1 rtc: ds1337: Remove various legacy code and update dependencies
At this point there are no users of this driver which do not enable DM_RTC, so remove the legacy code and express the depdendency in Kconfig. We can further remove code related to RTC chips / options that are neither available in Kconfig nor set by any platforms.
Signed-off-by Tom Rini <[email protected]>
--- drivers/rtc/Kconfig | 1 + drivers/rtc/ds1337.c | 156 +------------------------------------------ 2 files changed, 2 insertions(+), 155 deletions(-)
drivers/rtc/Kconfig +1 -0
@@ -73,6 +73,7 @@ config RTC_DS1307 config RTC_DS1337 bool "Enable DS1337 driver" + depends on DM_RTC help Support for Dallas Semiconductor (now Maxim) DS1337/8/9 compatible Real Time Clock devices.
drivers/rtc/ds1337.c +1 -155
190 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 6 lines · Tom Rini
At this point there are no users of this driver which do not enable
DM_RTC, so remove the legacy code and express the depdendency inKconfig. We can further remove code related to RTC chips / options that are neither available inKconfignor set by any platforms.
Applied to u-boot/next, thanks!
[1/1] rtc: ds1337: Remove various legacy code and update dependencies
commit: 8c1ffb09d5bda6e94b71fac60aad7f1b1ba4d16a
Signature · 1 line
Tom