pxa: Remove dev_err() after platform_get_irq()
authorzhang songyi <zhang.songyi@zte.com.cn>
Fri, 2 Dec 2022 02:42:04 +0000 (10:42 +0800)
committerArnd Bergmann <arnd@arndb.de>
Sun, 4 Dec 2022 12:10:57 +0000 (13:10 +0100)
commit1d9ae5a1356a61cef94b34e4ccb28986955e2fd2
tree3c99bf77546462786567d81534df7093e6e66be5
parent69a485191b00565a02cdab17e0bef98f84a8ec9d
pxa: Remove dev_err() after platform_get_irq()

There is no need to call the dev_err() function directly to print a
custom message when handling an error from either the platform_get_irq()
or platform_get_irq_byname() functions as both are going to display an
appropriate error message in case of a failure.

Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
Reviewed-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/202212021042043546303@zte.com.cn
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/pxa/ssp.c