diff options
Diffstat (limited to 'drivers/rtc/rv3029.c')
-rw-r--r-- | drivers/rtc/rv3029.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c index 3afe5b2fdd6..8c80fe9cb79 100644 --- a/drivers/rtc/rv3029.c +++ b/drivers/rtc/rv3029.c @@ -7,10 +7,8 @@ * Michael Buesch <m@bues.ch> */ -#include <common.h> #include <command.h> #include <dm.h> -#include <eeprom.h> #include <i2c.h> #include <log.h> #include <rtc.h> @@ -75,7 +73,6 @@ RV3029_TRICKLE_80K) #define RV3029_TRICKLE_SHIFT 4 - static int rv3029_rtc_get(struct udevice *dev, struct rtc_time *tm) { u8 regs[RTC_RV3029_PAGE_LEN]; @@ -129,7 +126,6 @@ static int rv3029_rtc_set(struct udevice *dev, const struct rtc_time *tm) __func__, tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_wday, tm->tm_hour, tm->tm_min, tm->tm_sec); - if (tm->tm_year < 2000) { printf("%s: year %d (before 2000) not supported\n", __func__, tm->tm_year); |