]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dib7000p: use pr_foo() instead of printk()
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 12:35:33 +0000 (09:35 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 18 Nov 2016 11:57:10 +0000 (09:57 -0200)
commit9b6235d5c872fd7cd47144ad0a54d9950f49793c
tree0e5fcff172af1f4e609210c3d37e62ddf7bc26f5
parentf02fafaeefeac774a32c3a45965e9de7927224b9
[media] dib7000p: 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/dib7000p.c