misc: hi6421-spmi-pmic: Remove redundant dev_err()
authorRuan Jinjie <ruanjinjie@huawei.com>
Wed, 26 Jul 2023 18:07:07 +0000 (18:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Aug 2023 13:39:10 +0000 (15:39 +0200)
commit32fd0989a68aeffa6c50c779c07526d55d49458f
tree58047200c61d69fc27c573351b817224c5645687
parentd9c58aeb408100647b624e1244aec7b871e859b1
misc: hi6421-spmi-pmic: 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 the 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>
Link: https://lore.kernel.org/r/20230726180707.2486808-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/hi6421v600-irq.c