media: jpeg-core: Remove redundant dev_err()
authorRuan Jinjie <ruanjinjie@huawei.com>
Thu, 27 Jul 2023 10:06:32 +0000 (10:06 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:36 +0000 (07:58 +0200)
commitf7692d1d0af9d002cf3bf3edf5c56995cc98e535
tree012d31caba7064ec160eb8524a1becbad233685f
parent9578de86555bbd1991eec48381814d887ea85bb5
media: jpeg-core: 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>
Acked-by: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c