Merge tag 'chrome-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/olof...
[deliverable/linux.git] / drivers / rtc / rtc-s3c.c
index a313b9b5a27e7edfab21381bcb2774e30bdfb9ed..76cbad7a99d34d4bd6d1cb2baca98e08fc3264a7 100644 (file)
@@ -497,9 +497,7 @@ static int s3c_rtc_probe(struct platform_device *pdev)
        device_init_wakeup(&pdev->dev, 1);
 
        /* Check RTC Time */
-       s3c_rtc_gettime(&pdev->dev, &rtc_tm);
-
-       if (rtc_valid_tm(&rtc_tm)) {
+       if (s3c_rtc_gettime(&pdev->dev, &rtc_tm)) {
                rtc_tm.tm_year  = 100;
                rtc_tm.tm_mon   = 0;
                rtc_tm.tm_mday  = 1;
This page took 0.121337 seconds and 5 git commands to generate.