dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST...

Change code from using now deprecated DT_<COMPAT>_<INSTANCE>_<PROP>
defines to using DT_INST_<INSTANCE>_<COMPAT>_<PROP>.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-06-11 14:20:32 -05:00 committed by Kumar Gala
commit a2693975d7
206 changed files with 1480 additions and 1479 deletions

View file

@ -251,8 +251,8 @@ extern const u32_t z_bt_ctlr_used_nrf_ppi_channels;
#if IS_ENABLED(CONFIG_PWM_NRF5_SW)
#define NRFX_PPI_CHANNELS_USED_BY_PWM_SW \
(BIT_MASK(DT_NORDIC_NRF_SW_PWM_0_CHANNEL_COUNT * 2) \
<< DT_NORDIC_NRF_SW_PWM_0_PPI_BASE)
(BIT_MASK(DT_INST_0_NORDIC_NRF_SW_PWM_CHANNEL_COUNT * 2) \
<< DT_INST_0_NORDIC_NRF_SW_PWM_PPI_BASE)
#else
#define NRFX_PPI_CHANNELS_USED_BY_PWM_SW 0
#endif