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>

authored by Wolfram Sang and committed by Samuel Ortiz 28ade0f2 62579266

-3
-1
drivers/mfd/88pm860x-i2c.c
··· 200 200 201 201 pm860x_device_exit(chip); 202 202 i2c_unregister_device(chip->companion); 203 - i2c_set_clientdata(chip->companion, NULL); 204 203 i2c_set_clientdata(chip->client, NULL); 205 204 i2c_set_clientdata(client, NULL); 206 205 kfree(chip);
-2
drivers/mfd/max8925-i2c.c
··· 173 173 max8925_device_exit(chip); 174 174 i2c_unregister_device(chip->adc); 175 175 i2c_unregister_device(chip->rtc); 176 - i2c_set_clientdata(chip->adc, NULL); 177 - i2c_set_clientdata(chip->rtc, NULL); 178 176 i2c_set_clientdata(chip->i2c, NULL); 179 177 kfree(chip); 180 178 return 0;