commit | 0ddb8b5d62206ed80d023ff76862d48aac1510d6 | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Fri Jan 28 15:40:22 2022 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Feb 21 22:16:10 2022 -0500 |
tree | a6c2a3188bc91277b768840280cae26b99a4b5bc | |
parent | b15fb9cb2f5bf4474b3b9b600c2987cb915545a3 [diff] |
drivers: interrupt_controller: intc_ioapic: use DEVICE_DT_GET_OR_NULL The device instance can be obtained at compile time. Here DEVICE_DT_GET_OR_NULL is used as the following code seems to accept a NULL condition, meaning instance is optional. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>