diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2018-02-25 07:31:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 10:48:43 -0500 |
commit | 6795bf6264829b6678f646164d5ab5e335a99fb1 (patch) | |
tree | 0b5f7f1a73831d98c895290c0278936b1d9c0e51 /drivers/media/pci/ngene/ngene.h | |
parent | 37a59823788af2388a9fe9fbd370579d80116178 (diff) |
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>
Diffstat (limited to 'drivers/media/pci/ngene/ngene.h')
0 files changed, 0 insertions, 0 deletions