ASoC: core: Drop unused "dapm" field form soc_enum struct
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 8 Mar 2013 12:44:26 +0000 (13:44 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 8 Mar 2013 12:45:05 +0000 (20:45 +0800)
This field was added in commit 2e72f8e ("ASoC: New enum type: value_enum"), but
has never been used since. Considering that the soc_enum struct is usually
shared between all instances of a CODEC, it also doesn't make much sense to have
a pointer to DAPM specific data in it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h

index a6a059ca387471083de2dc2e21e1584f6796925f..c84062b22221f65bcf7b1bf45830868c64e5c391 100644 (file)
@@ -1086,7 +1086,6 @@ struct soc_enum {
        unsigned int mask;
        const char * const *texts;
        const unsigned int *values;
-       void *dapm;
 };
 
 /* codec IO */