[PATCH -next] i2c: s3c2410: Remove redundant dev_err()

Andi Shyti andi.shyti at kernel.org
Wed Jul 26 07:46:19 PDT 2023


Hi Ruan,

On Wed, Jul 26, 2023 at 05:42:26PM +0000, Ruan Jinjie wrote:
> 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 at huawei.com>

Correct!

Reviewed-by: Andi Shyti <andi.shyti at kernel.org> 

Andi



More information about the linux-arm-kernel mailing list