Skip to content
Commit 90e93dce authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

spi/intel: move driver_api assignment later



This moves the assignment of driver_api to just before
the init function returns. This is in preparation to
make device_get_binding() return NULL if driver
initialization fails.

Change-Id: I69590c463b84877d250c63d4460b7e254b79c8b3
Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 1870f953
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment