All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: gpmi: Remove noisy error message
@ 2014-11-11 16:01 Fabio Estevam
  2014-11-11 19:45 ` Richard Weinberger
  2014-12-17  0:27 ` Brian Norris
  0 siblings, 2 replies; 14+ messages in thread
From: Fabio Estevam @ 2014-11-11 16:01 UTC (permalink / raw)
  To: computersforpeace; +Cc: Fabio Estevam, linux-mtd, shijie8

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>
---
 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 959cb9b..1ecf0e3 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -1828,7 +1828,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;
 }
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-12-17  0:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-11 16:01 [PATCH] mtd: gpmi: Remove noisy error message Fabio Estevam
2014-11-11 19:45 ` Richard Weinberger
2014-11-11 19:57   ` Fabio Estevam
2014-11-11 20:00     ` Richard Weinberger
2014-11-11 20:05       ` Fabio Estevam
2014-11-11 20:10         ` Richard Weinberger
2014-11-11 20:16           ` Fabio Estevam
2014-11-11 20:22             ` Richard Weinberger
2014-11-11 20:28               ` Fabio Estevam
2014-11-11 20:31                 ` Richard Weinberger
2014-11-26  3:18             ` Brian Norris
2014-11-26 11:44               ` Fabio Estevam
2014-11-26 13:35                 ` Richard Weinberger
2014-12-17  0:27 ` Brian Norris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.