summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-09-26 15:33:48 +0200
committerLee Jones <lee.jones@linaro.org>2013-10-23 17:21:31 +0200
commitca471660a263f437696bd6459c29395cb176a94a (patch)
tree387b180cacbb119b902973c180984784bb40f5a9 /drivers/mfd
parentmfd: max77693: Added device tree support (diff)
downloadlinux-ca471660a263f437696bd6459c29395cb176a94a.tar.xz
linux-ca471660a263f437696bd6459c29395cb176a94a.zip
mfd: palmas: Remove call of mfd_remove_devices
The driver only support the device tree and sub modules are populated through platform, the registration of sub devices through mfd_add_devices has been removed. Hence in remove path of the driver, it is not require to call mfd_remove_devices. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/palmas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
index 135afabe4ae2..9607d24259d0 100644
--- a/drivers/mfd/palmas.c
+++ b/drivers/mfd/palmas.c
@@ -567,7 +567,6 @@ static int palmas_i2c_remove(struct i2c_client *i2c)
{
struct palmas *palmas = i2c_get_clientdata(i2c);
- mfd_remove_devices(palmas->dev);
regmap_del_irq_chip(palmas->irq, palmas->irq_data);
return 0;