media: nxp: Remove redundant dev_err()
authorRuan Jinjie <ruanjinjie@huawei.com>
Thu, 27 Jul 2023 10:21:54 +0000 (10:21 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:36 +0000 (07:58 +0200)
commit06a67a1a193a9df37eff0be7682bf342545a559c
tree3817552aff7a4b8208b4bdbb0a99fbff2ce79780
parentc84db0f2302966cf6396e4258c547884cb11e381
media: nxp: Remove redundant dev_err()

There is no need to call the dev_err() function directly to print a custom
message when handling an error from platform_get_irq() function as
it is going to display an appropriate error message in case of a failure.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
drivers/media/platform/nxp/imx8-isi/imx8-isi-pipe.c