commit | a68120de6d414117ddb67566a7397a5e23556841 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Fri Dec 07 13:12:21 2018 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Dec 07 19:33:23 2018 -0500 |
tree | 9029244614efe934f03f6880af302572e10f362e | |
parent | 2d2a0452b9663044cef1ae2121de979ec0276924 [diff] |
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: Andrew Boie <andrew.p.boie@intel.com>