Skip to content

Commit

Permalink
ASoC: max98090: Remove structure member extmic_mux from private data
Browse files Browse the repository at this point in the history
There is no other use for extmic_mux than setting it to zero so remove it.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Jarkko Nikula authored and Mark Brown committed Sep 24, 2014
1 parent ced1933 commit 3256ff6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion sound/soc/codecs/max98090.c
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,6 @@ static int max98090_probe(struct snd_soc_codec *codec)
max98090->lin_state = 0;
max98090->pa1en = 0;
max98090->pa2en = 0;
max98090->extmic_mux = 0;

ret = snd_soc_read(codec, M98090_REG_REVISION_ID);
if (ret < 0) {
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/max98090.h
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,6 @@ struct max98090_priv {
u8 lin_state;
unsigned int pa1en;
unsigned int pa2en;
unsigned int extmic_mux;
unsigned int sidetone;
bool master;
};
Expand Down

0 comments on commit 3256ff6

Please sign in to comment.