crypto: rockchip - Remove surplus dev_err() when using platform_get_irq()
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 4 Nov 2022 07:45:27 +0000 (15:45 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Nov 2022 10:14:59 +0000 (18:14 +0800)
commitfb11cddfe24caad33667b5c9dd859562b2be6c75
tree3bc8d6332a5533560756bfe3fcbe97bb84a60742
parent520af5da664a8edc4f4c1cd8e6e8488ecccdb7e5
crypto: rockchip - Remove surplus dev_err() when using 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.

./drivers/crypto/rockchip/rk3288_crypto.c:351:2-9: line 351 is
redundant because platform_get_irq() already prints an error

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2677
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/rockchip/rk3288_crypto.c