media: ngene: convert kernellog printing from printk() to dev_*() macros
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 25 Feb 2018 12:31:30 +0000 (07:31 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 15:48:43 +0000 (10:48 -0500)
commit6795bf6264829b6678f646164d5ab5e335a99fb1
tree0b5f7f1a73831d98c895290c0278936b1d9c0e51
parent37a59823788af2388a9fe9fbd370579d80116178
media: ngene: convert kernellog printing from printk() to dev_*() macros

Convert all printk() and pr_*() kernel log printing to rather use the
dev_*() macros. Not only is it discouraged to use printk() (checkpatch
even complains about that), but also this helps identifying the exact PCI
device for any printed event, and it makes almost all printing shorter
in terms of code style since there's no need to use KERN_* DEVICE_NAME
any more (dev_*() will take care of this).

Since the dprintk macro define isn't used anymore, remove it.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ngene/ngene-cards.c
drivers/media/pci/ngene/ngene-core.c
drivers/media/pci/ngene/ngene-dvb.c