summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-01-23 01:43:06 +0100
committerBrian Norris <computersforpeace@gmail.com>2015-02-06 04:51:36 +0100
commit50131b73de14894d556baa5510f4e49db0454d93 (patch)
treed20f08e425199636957f6ac46682d81d31a05abe /drivers/mtd
parentmtd: fsl-quadspi: Fix the error paths (diff)
downloadlinux-50131b73de14894d556baa5510f4e49db0454d93.tar.xz
linux-50131b73de14894d556baa5510f4e49db0454d93.zip
mtd: fsl-quadspi: Remove unneeded success/error messages
When the driver successfully probe we already have messages like: [ 1.140989] fsl-quadspi 21e4000.qspi: s25fl128s (16384 Kbytes) [ 1.150902] fsl-quadspi 21e4000.qspi: s25fl128s (16384 Kbytes) Or in case of error: [ 1.175920] fsl-quadspi: probe of 21e4000.qspi failed with error -12 , so remove the unneeded success/error messages. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Han Xu <han.xu@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi-nor/fsl-quadspi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c
index a733bd2eb393..1c0572a0a576 100644
--- a/drivers/mtd/spi-nor/fsl-quadspi.c
+++ b/drivers/mtd/spi-nor/fsl-quadspi.c
@@ -939,7 +939,6 @@ static int fsl_qspi_probe(struct platform_device *pdev)
clk_disable(q->clk);
clk_disable(q->clk_en);
- dev_info(dev, "QuadSPI SPI NOR flash driver\n");
return 0;
last_init_failed:
@@ -954,7 +953,6 @@ irq_failed:
clk_failed:
clk_disable_unprepare(q->clk_en);
map_failed:
- dev_err(dev, "Freescale QuadSPI probe failed\n");
return ret;
}