mfd: fsl-imx25: Use devm_of_platform_populate()
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 29 May 2017 15:45:57 +0000 (17:45 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:12 +0000 (08:29 +0100)
commita55196eff6d63be4c439d707ce3b68ee82794ee9
treea2a4469f88a490e715a936a734ad795f1d70d5f9
parent2eb131efb13d1fb98c08fccfe25908a5a3ad04f6
mfd: fsl-imx25: Use devm_of_platform_populate()

Use devm_of_platform_populate() to be sure that of_platform_depopulate
is called when removing the driver.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/fsl-imx25-tsadc.c