summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-11 17:01:31 +0100
committerBrian Norris <computersforpeace@gmail.com>2014-12-22 21:58:24 +0100
commit41bed23b78bf79ee68dbdff88c0461271a61f893 (patch)
treead3310c6661c2e0ee13178cb7e7e75557bb34631 /drivers/mtd
parentLinux 3.19-rc1 (diff)
downloadlinux-41bed23b78bf79ee68dbdff88c0461271a61f893.tar.xz
linux-41bed23b78bf79ee68dbdff88c0461271a61f893.zip
mtd: gpmi: Remove noisy error message
mx28evk board has a socket for NAND flash that comes with no NAND flash populated, and then we get this message on every boot: [ 1.657603] gpmi-nand 8000c000.gpmi-nand: driver registration failed: -19 which is not very helpful, so get rid of this error message. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index 4f3851a24bb2..f33e66457311 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -2029,7 +2029,6 @@ static int gpmi_nand_probe(struct platform_device *pdev)
exit_nfc_init:
release_resources(this);
exit_acquire_resources:
- dev_err(this->dev, "driver registration failed: %d\n", ret);
return ret;
}