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>
clk_disable(q->clk);
clk_disable(q->clk_en);
- dev_info(dev, "QuadSPI SPI NOR flash driver\n");
return 0;
last_init_failed:
clk_failed:
clk_disable_unprepare(q->clk_en);
map_failed:
- dev_err(dev, "Freescale QuadSPI probe failed\n");
return ret;
}