]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/rtc/rtc-sun4v.c
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / drivers / rtc / rtc-sun4v.c
index 5b2261052a6550c7501c2eb02d2935a8578dfa4d..59b5c2dcb58c2843d907089963e9fd44e4ccebcb 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2008 David S. Miller <davem@davemloft.net>
  */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/delay.h>
@@ -26,10 +28,10 @@ retry:
                        udelay(100);
                        goto retry;
                }
-               printk(KERN_WARNING "SUN4V: tod_get() timed out.\n");
+               pr_warn("tod_get() timed out.\n");
                return 0;
        }
-       printk(KERN_WARNING "SUN4V: tod_get() not supported.\n");
+       pr_warn("tod_get() not supported.\n");
        return 0;
 }
 
@@ -53,10 +55,10 @@ retry:
                        udelay(100);
                        goto retry;
                }
-               printk(KERN_WARNING "SUN4V: tod_set() timed out.\n");
+               pr_warn("tod_set() timed out.\n");
                return -EAGAIN;
        }
-       printk(KERN_WARNING "SUN4V: tod_set() not supported.\n");
+       pr_warn("tod_set() not supported.\n");
        return -EOPNOTSUPP;
 }