From: Wolfram Sang Date: Thu, 1 Apr 2010 10:27:44 +0000 (+0200) Subject: ds2782_battery: Fix clientdata on removal X-Git-Tag: v2.6.35-rc1~412^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a009d29ea104c1bd8805a20018469897c2c2263c;p=pandora-kernel.git 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 Cc: Ryan Mallon Cc: Hans Verkuil Cc: Jean Delvare Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed