From: Laxman Dewangan Date: Thu, 26 Sep 2013 13:33:48 +0000 (+0530) Subject: mfd: palmas: Remove call of mfd_remove_devices X-Git-Tag: v3.13-rc1~66^2~4^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca471660a263f437696bd6459c29395cb176a94a;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c index 135afabe4ae2a..9607d24259d0c 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;