Skip to content
Commit a68120de authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

kernel: check retval of driver init



If initialization fails, zero the API struct so that
device_get_binding() can't fetch it, and do not mark
the driver object as initialized to user mode.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 2d2a0452
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment