]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: media: zoran: add logging macros
authorIan Cowan <ian@linux.cowan.aero>
Fri, 6 May 2022 05:28:00 +0000 (06:28 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:29 +0000 (10:30 +0100)
commit8989d15c0c172c9fb8023d3035c1266b9ee2979c
treea75365881f98069c21a008a648b1387ade1582b1
parenteefcf2a8ed5e101ab77714aa3ca1bce3609149d1
media: staging: media: zoran: add logging macros

This adds the zrdev_dbg() (pointing to pci_dbg()), zrdev_err() (pointing
to pci_err()), and zrdev_info() (pointing to pci_info()) macros to the
zoran drivers. These are the preferred method for debugging and this
will allow to extract the device from the zoran struct to make the call.

Signed-off-by: Ian Cowan <ian@linux.cowan.aero>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/zoran/zoran.h