scsi: pm8001: Neaten debug logging macros and uses
[linux-2.6-microblaze.git] / drivers / scsi / pm8001 / pm8001_ctl.c
index 3587f7c..12035ba 100644 (file)
@@ -841,10 +841,9 @@ static ssize_t pm8001_store_update_fw(struct device *cdev,
                               pm8001_ha->dev);
 
        if (ret) {
-               PM8001_FAIL_DBG(pm8001_ha,
-                       pm8001_printk(
-                       "Failed to load firmware image file %s, error %d\n",
-                       filename_ptr, ret));
+               pm8001_dbg(pm8001_ha, FAIL,
+                          "Failed to load firmware image file %s, error %d\n",
+                          filename_ptr, ret);
                pm8001_ha->fw_status = FAIL_OPEN_BIOS_FILE;
                goto out;
        }