Skip to content

Commit

Permalink
staging: vt6556: Replace printk by dev_warn
Browse files Browse the repository at this point in the history
This patch fixes a checkpatch warning by replacing printk
by dev_warn. Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
petersenna authored and gregkh committed Jul 16, 2014
1 parent 879be45 commit d9cf2f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,8 @@ static void usb_device_reset(struct vnt_private *pDevice)

status = usb_reset_device(pDevice->usb);
if (status)
printk("usb_device_reset fail status=%d\n",status);
dev_warn(&pDevice->usb->dev,
"usb_device_reset fail status=%d\n", status);
return ;
}

Expand Down

0 comments on commit d9cf2f9

Please sign in to comment.