mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
Staging: dgnc: Replace printk with dev_err
This patch fixes the following checkpatch.pl warning: WARNING: Prefer [subsystem eg: netdev]_err over printk(KERN_ERR, ...). Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0c596a31ec
commit
c28645e3ca
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ void dgnc_create_ports_sysfiles(struct dgnc_board *bd)
|
|||
rc |= device_create_file(&(bd->pdev->dev), &dev_attr_vpd);
|
||||
rc |= device_create_file(&(bd->pdev->dev), &dev_attr_serial_number);
|
||||
if (rc)
|
||||
printk(KERN_ERR "DGNC: sysfs device_create_file failed!\n");
|
||||
dev_err(&bd->pdev->dev, "dgnc: sysfs device_create_file failed!\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue