Revert "rtc: tegra: backup hctosys device"
[linux-3.10.git] / drivers / rtc / systohc.c
index 70b8420..bf3e242 100644 (file)
@@ -39,14 +39,6 @@ int rtc_set_ntp_time(struct timespec now)
                        err = rtc_set_time(rtc, &tm);
                rtc_class_close(rtc);
        }
-       rtc = rtc_class_open(CONFIG_RTC_BACKUP_HCTOSYS_DEVICE);
-       if (rtc) {
-               /* rtc_hctosys exclusively uses UTC, so we call set_time here,
-                * not set_mmss. */
-               if (rtc->ops && (rtc->ops->set_time || rtc->ops->set_mmss))
-                       err = rtc_set_time(rtc, &tm);
-               rtc_class_close(rtc);
-       }
 
        return err;
 }