Skip to content

Commit

Permalink
ASoC: wm5100: Fix warnings from recent patches
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jan 24, 2012
1 parent 15b52f1 commit 5509f2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/soc/codecs/wm5100.c
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ static int wm5100_set_bias_level(struct snd_soc_codec *codec,
enum snd_soc_bias_level level)
{
struct wm5100_priv *wm5100 = snd_soc_codec_get_drvdata(codec);
int ret, i;
int ret;

switch (level) {
case SND_SOC_BIAS_ON:
Expand Down Expand Up @@ -2504,7 +2504,6 @@ static int wm5100_probe(struct snd_soc_codec *codec)
static int wm5100_remove(struct snd_soc_codec *codec)
{
struct wm5100_priv *wm5100 = snd_soc_codec_get_drvdata(codec);
struct i2c_client *i2c = to_i2c_client(codec->dev);

if (wm5100->pdata.hp_pol) {
gpio_free(wm5100->pdata.hp_pol);
Expand Down

0 comments on commit 5509f2f

Please sign in to comment.