]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] bt8xx: Use current logging styles
authorJoe Perches <joe@perches.com>
Sun, 21 Aug 2011 22:56:48 +0000 (19:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 4 Sep 2011 00:02:52 +0000 (21:02 -0300)
commit8af443e581ab57a6a38f595eb40be3514ea55195
treeceb43d2544308cb1eac95b238680b1892efc5f3b
parentd8a10ac948545d8a4261728719af39b5dffaf7da
[media] bt8xx: Use current logging styles

This converts some messages that were emitted at
KERN_INFO to KERN_DEBUG.  All of these messages
were guarded by bttv_debug tests.

Add pr_fmt.
Convert printks to pr_<level>
Convert printks without KERN_<level> to appropriate pr_<level>.
Removed embedded prefixes when pr_fmt was added.
Whitespace cleanups when around other conversions.
Macros coded with if statements should be do { if... } while (0)
so the macros can be used in other if tests.
Use ##__VA_ARGS__ for variadic macro as well.
Coalesce format strings.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/bt8xx/bttv-cards.c
drivers/media/video/bt8xx/bttv-driver.c
drivers/media/video/bt8xx/bttv-gpio.c
drivers/media/video/bt8xx/bttv-i2c.c
drivers/media/video/bt8xx/bttv-input.c
drivers/media/video/bt8xx/bttv-risc.c
drivers/media/video/bt8xx/bttv-vbi.c
drivers/media/video/bt8xx/bttvp.h