]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/usb/cx231xx/cx231xx-core.c
[media] cx231xx: Cleanup printk at the driver
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 1 Nov 2014 11:59:03 +0000 (08:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 17:56:22 +0000 (15:56 -0200)
commited0e3729c9d790d17688083f070da3674088ea9c
treef6c25942baa88ded9a68c446d662fb8e338f40de
parent88538bb5449caef8347a2785f7ac32c0b8d5858c
[media] cx231xx: Cleanup printk at the driver

There are lots of debug printks printed with pr_info. Also, the
printk's data are not too coherent:

- there are duplicated driver name at the print format;
- function name format string differs from function to function;
- long strings broken into multiple lines;
- some printks just produce ugly reports, being almost useless
  as-is.

Do a cleanup on that.

Still, there are much to be done in order to do a better printk
job on this driver, but, at least it will now be a way less
verbose, if debug printks are disabled, and some logs might
actually be useful.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-417.c
drivers/media/usb/cx231xx/cx231xx-audio.c
drivers/media/usb/cx231xx/cx231xx-avcore.c
drivers/media/usb/cx231xx/cx231xx-cards.c
drivers/media/usb/cx231xx/cx231xx-core.c
drivers/media/usb/cx231xx/cx231xx-dvb.c
drivers/media/usb/cx231xx/cx231xx-i2c.c
drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c
drivers/media/usb/cx231xx/cx231xx-vbi.c
drivers/media/usb/cx231xx/cx231xx-video.c
drivers/media/usb/cx231xx/cx231xx.h