mfd: wl1273-core: Use devm_mfd_add_devices() for mfd_device registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 21 Apr 2016 12:25:58 +0000 (17:55 +0530)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 12:27:39 +0000 (13:27 +0100)
commit14856f75825f77b13564a8cc71deb21409671ab1
tree5a100fa4853ca9f101639e8639d48ed8875c8f96
parent6167c5bcef722819ff536dc63ec89825001161ed
mfd: wl1273-core: Use devm_mfd_add_devices() for mfd_device registration

Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/wl1273-core.c