From: Axel Lin Date: Fri, 9 Sep 2011 11:04:45 +0000 (+0800) Subject: ALSA: aoa: Remove obsolete cleanup for clientdata X-Git-Tag: v3.2-rc1~127^2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5758960353d179f0541226764a1e47eff01666ff;p=pandora-kernel.git ALSA: aoa: Remove obsolete cleanup for clientdata The i2c core will clear the clientdata pointer automatically. We don't have to set the `data' field to NULL in remove() or if probe() failed anymore. Also remove a unneeded NULL checking for kfree. Signed-off-by: Axel Lin Reviewed-by: Wolfram Sang Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed