misc: tps6594: Remove redundant dev_err_probe() for platform_get_irq_byname()
authorRuan Jinjie <ruanjinjie@huawei.com>
Mon, 7 Aug 2023 09:30:10 +0000 (17:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Aug 2023 10:58:40 +0000 (12:58 +0200)
commit1314e1220d7d31aa99ed551e42d76ba7be8e5bf4
treeeda4beb65948e8c068e5296e48c2a98aada4e8ee
parentfd06978b06a2ad99cb6d048617e50869d4081420
misc: tps6594: Remove redundant dev_err_probe() for platform_get_irq_byname()

There is no need to call the dev_err_probe() function directly to print
a custom message when handling an error from platform_get_irq_byname()
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/20230807093010.2112302-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/tps6594-esm.c
drivers/misc/tps6594-pfsm.c