boards: stm23: Move IS pinmux to new DT API

Convert the board and clean up I2S driver from these symbols

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-04-29 16:56:35 +02:00 committed by Kumar Gala
commit 7d1fc6d08c
6 changed files with 9 additions and 40 deletions

View file

@ -920,20 +920,20 @@ static void i2s_stm32_irq_config_func_##index(struct device *dev) \
#if DT_HAS_NODE(DT_NODELABEL(i2s1))
I2S_INIT(1, 2)
#endif /* CONFIG_I2S_1 */
#endif
#if DT_HAS_NODE(DT_NODELABEL(i2s2))
I2S_INIT(2, 1)
#endif /* CONFIG_I2S_2 */
#endif
#if DT_HAS_NODE(DT_NODELABEL(i2s3))
I2S_INIT(3, 1)
#endif /* CONFIG_I2S_3 */
#endif
#if DT_HAS_NODE(DT_NODELABEL(i2s4))
I2S_INIT(4, 2)
#endif /* CONFIG_I2S_4 */
#endif
#if DT_HAS_NODE(DT_NODELABEL(i2s5))
I2S_INIT(5, 2)
#endif /* CONFIG_I2S_5 */
#endif