mtd: gpmi: Remove noisy error message

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Feb 16 18:59:02 PST 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=41bed23b78bf79ee68dbdff88c0461271a61f893
Commit:     41bed23b78bf79ee68dbdff88c0461271a61f893
Parent:     97bf6af1f928216fd6c5a66e8a57bfa95a659672
Author:     Fabio Estevam <fabio.estevam at freescale.com>
AuthorDate: Tue Nov 11 14:01:31 2014 -0200
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Dec 22 12:58:24 2014 -0800

    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 at freescale.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index 4f3851a..f33e664 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;
 }



More information about the linux-mtd-cvs mailing list