v4l: ioctl: Use %p4cc printk modifier to print FourCC codes
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 16 Feb 2021 15:57:21 +0000 (17:57 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 17 Feb 2021 11:52:39 +0000 (12:52 +0100)
commite927e1e0f0dd3e353d5556503a71484008692c82
treea134200da7280b487728d2e4c8050f94229d5e27
parentaf612e43de6d27df51a7636229be7d33fe3ab7b5
v4l: ioctl: Use %p4cc printk modifier to print FourCC codes

Now that we can print FourCC codes directly using printk, make use of the
feature in V4L2 core.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210216155723.17109-3-sakari.ailus@linux.intel.com
drivers/media/v4l2-core/v4l2-ioctl.c