summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-09-26 19:03:48 +0530
committerLee Jones <lee.jones@linaro.org>2013-10-23 16:21:31 +0100
commitca471660a263f437696bd6459c29395cb176a94a (patch)
tree387b180cacbb119b902973c180984784bb40f5a9
parent4657185c3c6d928a07185f63f3558d9483e09d7e (diff)
downloadop-kernel-dev-ca471660a263f437696bd6459c29395cb176a94a.zip
op-kernel-dev-ca471660a263f437696bd6459c29395cb176a94a.tar.gz
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>
-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 135afab..9607d24 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;
OpenPOWER on IntegriCloud