i2c: s3c2410: Remove redundant dev_err()
authorRuan Jinjie <ruanjinjie@huawei.com>
Wed, 26 Jul 2023 17:42:26 +0000 (17:42 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 8 Aug 2023 13:36:48 +0000 (15:36 +0200)
commitf9372b9202a443051b9ed9b9cc34a79d44493e1a
tree908d85ff5bd33325b093c8c2b9f778e0fb7d432c
parent224acec66433ee36f58531d815e61498a407ac44
i2c: s3c2410: 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: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20230726174226.2480552-1-ruanjinjie@huawei.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-s3c2410.c