diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-10 04:08:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:14 -0400 |
commit | a482f327ff56bc3cf53176a7eb736cea47291a1d (patch) | |
tree | d9a603e7ffd5b718fa78a6988b2802d33324ba95 /drivers/media/video/usbvision/usbvision-i2c.c | |
parent | 79025a9ed9132880d5197611dec6d8533c121ac7 (diff) |
V4L/DVB (9116): USB: remove info() macro from usb media drivers
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.
Cc: Douglas Landgraf <dougsland@gmail.com>
Cc: Mike Isely <isely@pobox.com>
Cc: Thierry Merle <thierry.merle@free.fr>
Cc: Antoine Jacquet <royale@zerezo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-i2c.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-i2c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision-i2c.c b/drivers/media/video/usbvision/usbvision-i2c.c index a6d00858b07e..92427fdc1459 100644 --- a/drivers/media/video/usbvision/usbvision-i2c.c +++ b/drivers/media/video/usbvision/usbvision-i2c.c | |||
@@ -47,7 +47,8 @@ MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]"); | |||
47 | 47 | ||
48 | #define PDEBUG(level, fmt, args...) { \ | 48 | #define PDEBUG(level, fmt, args...) { \ |
49 | if (i2c_debug & (level)) \ | 49 | if (i2c_debug & (level)) \ |
50 | info("[%s:%d] " fmt, __func__, __LINE__ , ## args); \ | 50 | printk(KERN_INFO KBUILD_MODNAME ":[%s:%d] " fmt, \ |
51 | __func__, __LINE__ , ## args); \ | ||
51 | } | 52 | } |
52 | 53 | ||
53 | static int usbvision_i2c_write(struct usb_usbvision *usbvision, unsigned char addr, char *buf, | 54 | static int usbvision_i2c_write(struct usb_usbvision *usbvision, unsigned char addr, char *buf, |