ASoC: stm32: sai: use devm_of_platform_populate()
authorolivier moysan <olivier.moysan@st.com>
Wed, 22 Nov 2017 15:02:27 +0000 (16:02 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Nov 2017 13:09:53 +0000 (13:09 +0000)
commit512d1bb4e86bd0fd4d665d4e454a3486236a419f
treea1a0bb780cf0535f4c83445bc72ed958edd4db37
parent7dd0d835582ff72b0b3bd0f4fa074967dff1ce82
ASoC: stm32: sai: use devm_of_platform_populate()

Use devm_of_platform_populate() instead of of_platform_depopulate()
to simplify driver code.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_sai.c