mtd: rawnand: cadence: Remove dev_err() on platform_get_irq() failure
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 Oct 2019 13:57:10 +0000 (21:57 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Oct 2019 13:42:12 +0000 (14:42 +0100)
commit29d9640bb537bbe0c37ffd672ff56b73e4aa3252
treec4a5b3e81989142ed10599f3c0e9aed73142ec3d
parent21777bc90427dd396e17377f2eed46fcc9c9989e
mtd: rawnand: cadence: Remove dev_err() on platform_get_irq() failure

platform_get_irq() will call dev_err() itself on failure,
so there is no need for the driver to also do this.
This is detected by coccinelle.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/cadence-nand-controller.c