commit | 5758960353d179f0541226764a1e47eff01666ff | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Fri Sep 09 19:04:45 2011 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Sep 12 10:35:47 2011 +0200 |
tree | 16c28d6e3887e5e2b3a8c494643ccd2d90a7c25b | |
parent | 89f3325a6e3002f33bc5e0412d35fc097e219dbd [diff] |
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>