ALSA: aoa: Remove obsolete cleanup for clientdata
authorAxel Lin <axel.lin@gmail.com>
Fri, 9 Sep 2011 11:04:45 +0000 (19:04 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Sep 2011 08:35:47 +0000 (10:35 +0200)
commit5758960353d179f0541226764a1e47eff01666ff
tree16c28d6e3887e5e2b3a8c494643ccd2d90a7c25b
parent89f3325a6e3002f33bc5e0412d35fc097e219dbd
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 <axel.lin@gmail.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/codecs/onyx.c