Commit 50131b73 authored by Fabio Estevam's avatar Fabio Estevam Committed by Brian Norris

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarHan Xu <han.xu@freescale.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent e4ca6840
...@@ -939,7 +939,6 @@ static int fsl_qspi_probe(struct platform_device *pdev) ...@@ -939,7 +939,6 @@ static int fsl_qspi_probe(struct platform_device *pdev)
clk_disable(q->clk); clk_disable(q->clk);
clk_disable(q->clk_en); clk_disable(q->clk_en);
dev_info(dev, "QuadSPI SPI NOR flash driver\n");
return 0; return 0;
last_init_failed: last_init_failed:
...@@ -954,7 +953,6 @@ static int fsl_qspi_probe(struct platform_device *pdev) ...@@ -954,7 +953,6 @@ static int fsl_qspi_probe(struct platform_device *pdev)
clk_failed: clk_failed:
clk_disable_unprepare(q->clk_en); clk_disable_unprepare(q->clk_en);
map_failed: map_failed:
dev_err(dev, "Freescale QuadSPI probe failed\n");
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment