diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-09-26 09:33:48 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-10-23 11:21:31 -0400 |
commit | ca471660a263f437696bd6459c29395cb176a94a (patch) | |
tree | 387b180cacbb119b902973c180984784bb40f5a9 /drivers | |
parent | 4657185c3c6d928a07185f63f3558d9483e09d7e (diff) |
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')
-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) | |||
567 | { | 567 | { |
568 | struct palmas *palmas = i2c_get_clientdata(i2c); | 568 | struct palmas *palmas = i2c_get_clientdata(i2c); |
569 | 569 | ||
570 | mfd_remove_devices(palmas->dev); | ||
571 | regmap_del_irq_chip(palmas->irq, palmas->irq_data); | 570 | regmap_del_irq_chip(palmas->irq, palmas->irq_data); |
572 | 571 | ||
573 | return 0; | 572 | return 0; |