16 Dec
2013
16 Dec
'13
9:03 a.m.
<This patch is dependent on the $subject so i have used $subject instead of different one> I can see only one usage of: snd_soc_dapm_mixer_update_power and zero user of: snd_soc_dapm_mux_update_power()
And after this $subject patch I think both of these functions becomes redundant.
It will help in reducing the code size if we can get rid of this dead code.We can also remove code from tlv320aic3x.c and just let it use the core implementation.
grep -rniI "snd_soc_dapm_mixer_update_power" sound/
sound/soc/soc-dapm.c:2149: int snd_soc_dapm_mixer_update_power sound/soc/codecs/tlv320aic3x.c:174: snd_soc_dapm_mixer_update_power
grep -rniI "snd_soc_dapm_mux_update_power" sound/ no users.
I would send a patch if experts agree.