mtd: rawnand: rockchip: fix platform_get_irq.cocci warning
authorYihao Han <hanyihao@vivo.com>
Thu, 3 Mar 2022 12:34:27 +0000 (04:34 -0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 14 Mar 2022 15:58:38 +0000 (16:58 +0100)
commitfba6eb4fc4e6819d9684d378ace339c4212d5ce1
treeaeaa2ccab03b6cf69fc49fef6842bbf792afcb51
parentffb16c1c42670356c579926aabdac0ac7bbc16d8
mtd: rawnand: rockchip: fix platform_get_irq.cocci warning

Remove dev_err() messages after platform_get_irq*() failures.
platform_get_irq() already prints an error.

Generated by: scripts/coccinelle/api/platform_get_irq.cocci

Signed-off-by: Yihao Han <hanyihao@vivo.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220303123431.3170-1-hanyihao@vivo.com
drivers/mtd/nand/raw/rockchip-nand-controller.c