mtd: rawnand: mxic: Remove dev_err() on platform_get_irq() failure
authorYueHaibing <yuehaibing@huawei.com>
Thu, 24 Oct 2019 02:29:34 +0000 (10:29 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Oct 2019 13:40:42 +0000 (14:40 +0100)
commit21777bc90427dd396e17377f2eed46fcc9c9989e
treefb95610d587d277380d62d5e1db50227e83e7667
parent0e04b2ff7123378c7b41a0bf8156a466a49d730a
mtd: rawnand: mxic: 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/mxic_nand.c