Skip to contentSkip to conversation

staging: vt6556: Replace printk by dev_warn

PATCH New Peter Senna Tschudin 1 participant 1 message Jul 16, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v6 6/6 staging: vt6556: Replace printk by dev_warn

This patch fixes a checkpatch warning by replacing printk by dev_warn. Tested by compilation only.

---
Changes from V5
- Refresh for staging-next of 16/07/2014

 drivers/staging/vt6656/main_usb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/vt6656/main_usb.c +2 -1
index a3057da..c595a15 100644
@@ -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 ;
 }
 
Signature · 1 line
1.9.3