atom feed1 message in org.kernel.vger.kernel-janitors[PATCH V6 6/6] staging: vt6556: Repla...
FromSent OnAttachments
Peter Senna TschudinJul 16, 2014 9:08 am 
Subject:[PATCH V6 6/6] staging: vt6556: Replace printk by dev_warn
From:Peter Senna Tschudin (pete@gmail.com)
Date:Jul 16, 2014 9:08:02 am
List:org.kernel.vger.kernel-janitors

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

Signed-off-by: Peter Senna Tschudin <pete@gmail.com>

--- 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(-)

diff --git a/drivers/staging/vt6656/main_usb.c
b/drivers/staging/vt6656/main_usb.c index a3057da..c595a15 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -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 ; }