OSDN Git Service

media: sun8i: Remove redundant platform_get_irq error message
authorYueHaibing <yuehaibing@huawei.com>
Thu, 16 Jan 2020 14:36:30 +0000 (15:36 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 16:14:33 +0000 (17:14 +0100)
commit6821660c4386e31e9344fb8dc87111ffbc9cb60b
tree7df4a632ea7ac7eb1dec25f4d51f0ec40064250a
parentdc42cf74d98a39af30ecaf78e7fad7e265ae528f
media: sun8i: Remove redundant platform_get_irq error message

platform_get_irq() will call dev_err() itself on failure,
so there is no need for the driver to also do this.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/sunxi/sun8i-di/sun8i-di.c