diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-09-26 19:03:48 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-10-23 16:21:31 +0100 |
commit | ca471660a263f437696bd6459c29395cb176a94a (patch) | |
tree | 387b180cacbb119b902973c180984784bb40f5a9 /drivers/mfd | |
parent | 4657185c3c6d928a07185f63f3558d9483e09d7e (diff) | |
download | linux-ca471660a263f437696bd6459c29395cb176a94a.tar.gz linux-ca471660a263f437696bd6459c29395cb176a94a.tar.xz |
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.c | 1 |
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; |