commit | a009d29ea104c1bd8805a20018469897c2c2263c | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Thu Apr 01 12:27:44 2010 +0200 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Tue Apr 06 20:07:05 2010 +0400 |
tree | 18b980bf8aecea51f057d7e8c3ab1ffae111213f | |
parent | db217dece3003df0841bacf9556b5c06aa097dae [diff] |
ds2782_battery: Fix clientdata on removal Probably due to a copy & paste bug, clientdata was set again to the data structure (which is freed immediately afterwards) when it should be NULLed. Just remove the calls as the i2c-core does this automatically now. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: Ryan Mallon <ryan@bluewatersys.com> Cc: Hans Verkuil <hverkuil@xs4all.nl> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>