[S390] convert zfcp printks to pr_xxx macros.
[deliverable/linux.git] / drivers / s390 / scsi / zfcp_aux.c
index f140b46df12a6884801e191e667d91b11fdf2da7..e529b55b3ce9b486d1bfb55101c7de6981989998 100644 (file)
@@ -25,6 +25,9 @@
  *            Sven Schuetz
  */
 
+#define KMSG_COMPONENT "zfcp"
+#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+
 #include <linux/miscdevice.h>
 #include <linux/seq_file.h>
 #include "zfcp_ext.h"
@@ -105,7 +108,7 @@ static int __init zfcp_device_setup(char *devstr)
 
  err_out:
        kfree(str);
-       pr_err("zfcp: %s is not a valid SCSI device\n", devstr);
+       pr_err("%s is not a valid SCSI device\n", devstr);
        return 0;
 }
 
@@ -189,13 +192,13 @@ static int __init zfcp_module_init(void)
 
        retval = misc_register(&zfcp_cfdc_misc);
        if (retval) {
-               pr_err("zfcp: Registering the misc device zfcp_cfdc failed\n");
+               pr_err("Registering the misc device zfcp_cfdc failed\n");
                goto out_misc;
        }
 
        retval = zfcp_ccw_register();
        if (retval) {
-               pr_err("zfcp: The zfcp device driver could not register with "
+               pr_err("The zfcp device driver could not register with "
                       "the common I/O layer\n");
                goto out_ccw_register;
        }
This page took 0.026844 seconds and 5 git commands to generate.