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

pwm/pca_9685: 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: Ia0c7a0014eb28624cbf363f994d6149f1aa5aadd
Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 5ba89ffd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment