]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dib9000: use pr_foo() instead of printk()
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 13:08:40 +0000 (10:08 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 18 Nov 2016 12:01:02 +0000 (10:01 -0200)
commit7b198b195399544f2b659c8173a47d95ed1fc755
tree07d5ef1f2703a1fa62fdc29c708ae84f6a856166
parent8c29959bd7db9fe64549eccff7afc63cf18a9458
[media] dib9000: use pr_foo() instead of printk()

The dprintk() macro relies on continuation lines. This is not
a good practice and will break after commit aae16a0a1c14
("Merge branch 'printk-cleanups'").

So, instead of directly calling printk(), use pr_foo() macros,
adding a\n leading char on each macro call.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/dib9000.c