Merge tag 'iwlwifi-for-kalle-2015-04-28' of https://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / drivers / rtc / hctosys.c
index 91fb5f3..e1cfa06 100644 (file)
@@ -9,6 +9,8 @@
  * published by the Free Software Foundation.
 */
 
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/rtc.h>
 
 /* IMPORTANT: the RTC only stores whole seconds. It is arbitrary
@@ -32,8 +34,8 @@ static int __init rtc_hctosys(void)
        struct rtc_device *rtc = rtc_class_open(CONFIG_RTC_HCTOSYS_DEVICE);
 
        if (rtc == NULL) {
-               pr_info("%s: unable to open rtc device (%s)\n",
-                       __func__, CONFIG_RTC_HCTOSYS_DEVICE);
+               pr_info("unable to open rtc device (%s)\n",
+                       CONFIG_RTC_HCTOSYS_DEVICE);
                goto err_open;
        }