Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-mrst.c
index 3a6fd3a8a2ec63d389a2f4dbf948f5c2090ecc3a..548ea6f6f384b27f78e51b545116948d4c8cc652 100644 (file)
@@ -277,13 +277,15 @@ static int mrst_procfs(struct device *dev, struct seq_file *seq)
        valid = vrtc_cmos_read(RTC_VALID);
        spin_unlock_irq(&rtc_lock);
 
-       return seq_printf(seq,
-                       "periodic_IRQ\t: %s\n"
-                       "alarm\t\t: %s\n"
-                       "BCD\t\t: no\n"
-                       "periodic_freq\t: daily (not adjustable)\n",
-                       (rtc_control & RTC_PIE) ? "on" : "off",
-                       (rtc_control & RTC_AIE) ? "on" : "off");
+       seq_printf(seq,
+                  "periodic_IRQ\t: %s\n"
+                  "alarm\t\t: %s\n"
+                  "BCD\t\t: no\n"
+                  "periodic_freq\t: daily (not adjustable)\n",
+                  (rtc_control & RTC_PIE) ? "on" : "off",
+                  (rtc_control & RTC_AIE) ? "on" : "off");
+
+       return 0;
 }
 
 #else