mfd: Remove unneeded and dangerous clearing of clientdata
authorWolfram Sang <w.sang@pengutronix.de>
Thu, 20 May 2010 22:50:17 +0000 (00:50 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 27 May 2010 23:38:01 +0000 (01:38 +0200)
commit28ade0f217a3a3ff992b01e06e6e425c250a8406
tree1469b01ab8bda499a2782bc67457e5258dd5d5f1
parent62579266cf9caca5b999560be2b5ceee42fc4d4d
mfd: Remove unneeded and dangerous clearing of clientdata

Unlike real i2c-devices which get detached from the driver, dummy-devices
get truly unregistered. So, there has never been a need to clear the
clientdata because the device will go away anyhow. For the occasions fixed
here, clearing clientdata was even dangerous as the structure was freed
already.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm860x-i2c.c
drivers/mfd/max8925-i2c.c