Merge branch '2019-12-02-master-imports'
[oweals/u-boot.git] / drivers / rtc / rs5c372.c
index c815c915d5c0f8da25cca7879eee3ab8915492a4..97ec001aef56f1cecd3540922874e180ea5f1061 100644 (file)
@@ -24,7 +24,6 @@
 #include <rtc.h>
 #include <i2c.h>
 
-#if defined(CONFIG_CMD_DATE)
 /*
  * Reads are always done starting with register 15, which requires some
  * jumping-through-hoops to access the data correctly.
@@ -255,5 +254,3 @@ rtc_reset (void)
        if (!setup_done)
                rs5c372_enable();
 }
-
-#endif