soc: arm: nordic_nrf: replace NRF_DT_CHECK_PIN_ASSIGNMENTS
Since PINCTRL and pinctrl-0 is now required, there's no point in doing extra validation at driver level. Modify the macro to just check that sleep state is present when needed, since it was the only remaining assertion that was not covered. Renamed the macro to make it more clear what it does: NRF_DT_CHECK_NODE_HAS_PINCTRL_SLEEP Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
1efaa94bc6
commit
27b73a116f
13 changed files with 15 additions and 64 deletions
|
@ -880,7 +880,6 @@ static const struct i2s_driver_api i2s_nrf_drv_api = {
|
|||
#define I2S_CLK_SRC(idx) DT_STRING_TOKEN(I2S(idx), clock_source)
|
||||
|
||||
#define I2S_NRFX_DEVICE(idx) \
|
||||
NRF_DT_CHECK_PIN_ASSIGNMENTS(I2S(idx), 0); \
|
||||
static void *tx_msgs##idx[CONFIG_I2S_NRFX_TX_BLOCK_COUNT]; \
|
||||
static void *rx_msgs##idx[CONFIG_I2S_NRFX_RX_BLOCK_COUNT]; \
|
||||
static struct i2s_nrfx_drv_data i2s_nrfx_data##idx = { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue