diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-04-01 12:27:44 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-04-06 20:07:05 +0400 |
commit | a009d29ea104c1bd8805a20018469897c2c2263c (patch) | |
tree | 18b980bf8aecea51f057d7e8c3ab1ffae111213f /include | |
parent | db217dece3003df0841bacf9556b5c06aa097dae (diff) | |
download | blackbird-op-linux-a009d29ea104c1bd8805a20018469897c2c2263c.tar.gz blackbird-op-linux-a009d29ea104c1bd8805a20018469897c2c2263c.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions