From: Axel Lin Date: Fri, 10 Dec 2010 09:34:26 +0000 (+0800) Subject: ALSA: aoa: Remove wrong i2c_set_clientdata in onyx_i2c_remove() X-Git-Tag: v2.6.38-rc1~236^2~2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5144c534d16529bc469396211131e8935589f833;p=pandora-kernel.git ALSA: aoa: Remove wrong i2c_set_clientdata in onyx_i2c_remove() It does not make sense to set clientdata to onyx in onyx_i2c_remove() as we are going to kfree onyx. What we really want here is i2c_set_clientdata(client, NULL); Since the i2c core will take care of it now, so this patch just removes it. Signed-off-by: Axel Lin Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed