rtc: use more standard kernel logging styles
[cascardo/linux.git] / drivers / rtc / rtc-m41t80.c
index 7ff7427..a82937e 100644 (file)
@@ -13,6 +13,8 @@
  *
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/bcd.h>
 #include <linux/i2c.h>
 #include <linux/init.h>
@@ -513,12 +515,12 @@ static int wdt_ioctl(struct file *file, unsigned int cmd,
                        return -EFAULT;
 
                if (rv & WDIOS_DISABLECARD) {
-                       pr_info("rtc-m41t80: disable watchdog\n");
+                       pr_info("disable watchdog\n");
                        wdt_disable();
                }
 
                if (rv & WDIOS_ENABLECARD) {
-                       pr_info("rtc-m41t80: enable watchdog\n");
+                       pr_info("enable watchdog\n");
                        wdt_ping();
                }