diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-04-01 06:27:44 -0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-04-06 12:07:05 -0400 |
commit | a009d29ea104c1bd8805a20018469897c2c2263c (patch) | |
tree | 18b980bf8aecea51f057d7e8c3ab1ffae111213f /drivers/power/z2_battery.c | |
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>
Diffstat (limited to 'drivers/power/z2_battery.c')
0 files changed, 0 insertions, 0 deletions