zephyr/drivers/flash
Daniel Leung 756b90b01f flash/spi_flash_w25qxxdv: do not set driver_api if init fails
If the driver fails initializations, do not set the driver_api.
This follows the idea that device_get_binding() will not return
a reference to the driver instance when driver init fails.

Change-Id: Iff56b4150658a76567928b1fd166bde5d2848d52
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-04-12 23:52:10 +00:00
..
Kconfig drivers: WinBond SPI flash support 2016-03-07 19:07:50 +00:00
Makefile drivers: WinBond SPI flash support 2016-03-07 19:07:50 +00:00
spi_flash_w25qxxdv_defs.h drivers: WinBond SPI flash support 2016-03-07 19:07:50 +00:00
spi_flash_w25qxxdv.c flash/spi_flash_w25qxxdv: do not set driver_api if init fails 2016-04-12 23:52:10 +00:00
spi_flash_w25qxxdv.h drivers: WinBond SPI flash support 2016-03-07 19:07:50 +00:00