scsi: libsas: Drop sas_printk()
The printk wrapper sas_printk() adds little value now that libsas logs already have the "sas" prefix through pr_fmt(fmt), so just use pr_notice() directly. In addition, strings which span multiple lines are reunited. Originally-from: Joe Perches <joe@perches.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
d188e5db9d
commit
71a4a99231
@@ -122,11 +122,11 @@ static void sas_phye_shutdown(struct work_struct *work)
|
||||
phy->enabled = 0;
|
||||
ret = i->dft->lldd_control_phy(phy, PHY_FUNC_DISABLE, NULL);
|
||||
if (ret)
|
||||
sas_printk("lldd disable phy%02d returned %d\n",
|
||||
phy->id, ret);
|
||||
pr_notice("lldd disable phy%02d returned %d\n",
|
||||
phy->id, ret);
|
||||
} else
|
||||
sas_printk("phy%02d is not enabled, cannot shutdown\n",
|
||||
phy->id);
|
||||
pr_notice("phy%02d is not enabled, cannot shutdown\n",
|
||||
phy->id);
|
||||
}
|
||||
|
||||
/* ---------- Phy class registration ---------- */
|
||||
|
Reference in New Issue
Block a user