]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] bt8xx/dst: use a more standard way to print messages
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 13 Oct 2016 18:57:58 +0000 (15:57 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 18 Nov 2016 10:01:29 +0000 (08:01 -0200)
commit7c646913530e2dc7fc679f31c1e5624277ef3c19
treeb49e2e3ca9cecd2418095862364f26990df51a8f
parentfed9d8f3cd6b7e8dbb697377065ee3b88b6baa45
[media] bt8xx/dst: use a more standard way to print messages

This driver uses a weird, non-standard macro to print errors.
It allows hiding all messages, including error ones, with doesn't
seem a good idea.

Instead, replace it to pr_foo(), and, for error messages,
use pr_err().

The remaining messages were previouly classified as notice,
info or debug, but they all looked like debug messages.

So, add a dprintk() macro using the "verbose" modprobe
argument to select what will be displayed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/bt8xx/dst.c