linux-imx/drivers/soc/imx/secvio
Franck LENORMAND 5c1e731f54 MLK-23822: soc: imx: secvio: Fix boot message when nvmem not initialised
When the nvmem subsystem is not initialised at boot, the probe
will fail and an error message will be displayed.
In this case the message should not be printed as the driver will
be probed later.

This patch checks the error code from nvmem before printing the
message.

It also fixes the cleaning path as the driver was not exiting
properly.

Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-10-30 15:15:29 +08:00
..
imx-secvio-audit.c
imx-secvio-debugfs.c
imx-secvio-sc-int.h
imx-secvio-sc.c MLK-23822: soc: imx: secvio: Fix boot message when nvmem not initialised 2023-10-30 15:15:29 +08:00
Makefile