diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-08-10 15:48:02 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-09-25 18:41:00 +0300 |
commit | dc0f755b421d5aac9052f43c9d0e7285607d446c (patch) | |
tree | 4cd86aff472490e5fd3e3bc844b208e94d380ccf /drivers/usb/usb-skeleton.c | |
parent | 8dbf9c7abefd5c1434a956d5c6b25e11183061a3 (diff) |
usb: gadget: uvc: Replace plain printk() with dev_*()
Adding device context to the kernel log messages make them more useful.
Add new uvcg_* macros based on dev_*() that print both the gadget device
name and the function name.
While at it, remove a commented out printk statement and an unused
printk-based macro.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Tested-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
0 files changed, 0 insertions, 0 deletions