]> git.baikalelectronics.ru Git - kernel.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)
commit878183f6f303ad4300bd7bd5d9ea409c149bc955
treeb49e2e3ca9cecd2418095862364f26990df51a8f
parent10ec42bb2b9961defba7f3e4564d9255417b38be
[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