From: Mauro Carvalho Chehab Date: Fri, 18 Apr 2008 00:46:14 +0000 (-0300) Subject: V4L/DVB (7614): em28xx-core: fix some debug printk's that wrongly received KERN_INFO X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=82ac4f876505615ba9dc6a73cd9a584bad8fe23f;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB (7614): em28xx-core: fix some debug printk's that wrongly received KERN_INFO Those printk's were adding more info to a line that were already being printed. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c index 01d5f44268ff..bd7794f4fd74 100644 --- a/drivers/media/video/em28xx/em28xx-core.c +++ b/drivers/media/video/em28xx/em28xx-core.c @@ -80,9 +80,9 @@ int em28xx_read_reg_req_len(struct em28xx *dev, u8 req, u16 reg, if (reg_debug) { printk(ret < 0 ? " failed!\n" : "%02x values: ", ret); for (byte = 0; byte < len; byte++) - printk(KERN_INFO " %02x", (unsigned char)buf[byte]); + printk(" %02x", (unsigned char)buf[byte]); - printk(KERN_INFO "\n"); + printk("\n"); } return ret; @@ -143,8 +143,8 @@ int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, if (reg_debug) { int i; for (i = 0; i < len; ++i) - printk(KERN_INFO " %02x", (unsigned char)buf[i]); - printk(KERN_INFO "\n"); + printk(" %02x", (unsigned char)buf[i]); + printk("\n"); } if (!bufs)