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)
commitf3805c32ddd18ed494e8ab300fca7de208577682
treea75365881f98069c21a008a648b1387ade1582b1
parentb2bae4b8e637dd751d27918a6b27bd5abcd08859
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