Title: [9770] trunk/sound/soc/codecs/ad193x.c: asoc: ad193x: drop useless remove func
Revision
9770
Author
vapier
Date
2011-03-26 03:45:17 -0400 (Sat, 26 Mar 2011)

Log Message

asoc: ad193x: drop useless remove func

the soc core will just skip the driver remove step if it isnt provided, so no need to add our own useless return 0 stub

Modified Paths

Diff

Modified: trunk/sound/soc/codecs/ad193x.c (9769 => 9770)


--- trunk/sound/soc/codecs/ad193x.c	2011-03-25 02:51:07 UTC (rev 9769)
+++ trunk/sound/soc/codecs/ad193x.c	2011-03-26 07:45:17 UTC (rev 9770)
@@ -387,14 +387,8 @@
 	return ret;
 }
 
-static int ad193x_remove(struct snd_soc_codec *codec)
-{
-	return 0;
-}
-
 static struct snd_soc_codec_driver soc_codec_dev_ad193x = {
 	.probe = 	ad193x_probe,
-	.remove =	ad193x_remove,
 	.reg_cache_default = ad193x_reg,
 	.reg_cache_size = AD193X_NUM_REGS,
 	.reg_word_size = sizeof(u16),
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to