aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Scheller <[email protected]>2018-02-25 07:31:30 -0500
committerMauro Carvalho Chehab <[email protected]>2018-03-06 10:48:43 -0500
commit6795bf6264829b6678f646164d5ab5e335a99fb1 (patch)
tree0b5f7f1a73831d98c895290c0278936b1d9c0e51 /tools/perf/scripts/python
parent37a59823788af2388a9fe9fbd370579d80116178 (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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions