commit | 8b3560a1196030ad5d9f07bc2cf27add8431171c | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Thu Dec 23 17:23:14 2021 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jan 07 10:41:23 2022 -0500 |
tree | 66e6077202a5d70c35a759cb8a0a9e11142d4074 | |
parent | 47bfb6fb4c2d5d374eaba085a4e94f61b0245c1c [diff] |
drivers: clock_control: use device_is_ready device_usable_check() can return 0 or -ENODEV, so using device_is_ready is equivalent if we return -ENODEV when the device is not ready. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>