diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2010-04-01 10:27:44 (GMT) |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-04-06 16:07:05 (GMT) |
commit | a009d29ea104c1bd8805a20018469897c2c2263c (patch) | |
tree | 18b980bf8aecea51f057d7e8c3ab1ffae111213f /include/linux/z2_battery.h | |
parent | db217dece3003df0841bacf9556b5c06aa097dae (diff) | |
download | linux-fsl-qoriq-a009d29ea104c1bd8805a20018469897c2c2263c.tar.xz |
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/linux/z2_battery.h')
0 files changed, 0 insertions, 0 deletions