mfd: stm32-timers: Use devm_of_platform_populate()
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 29 May 2017 15:45:53 +0000 (17:45 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:12 +0000 (08:29 +0100)
commitc42a8edbe95db8106a68d7680c8379c4f80d9845
treec56168cd434dc7db7652dc731bc66dde040a1ad8
parentacebcff9eda8c38fd78acbfb9fab555b3a2ba5eb
mfd: stm32-timers: Use devm_of_platform_populate()

Use devm_of_platform_populate() instead of of_platform_populate()
and suppress stm32_timers_remove() which become useless.

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