Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342944
b: refs/heads/master
c: 47f07b7
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Dec 9, 2012
1 parent 56b989e commit 2582173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 719454d213f6e857b527e965eb6a1c8390cfc9b9
refs/heads/master: 47f07b77f23224fd8414fe68cb937be410d4f946
4 changes: 1 addition & 3 deletions trunk/sound/soc/codecs/wm8350.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ static int wm8350_codec_probe(struct snd_soc_codec *codec)
for (i = 0; i < ARRAY_SIZE(supply_names); i++)
priv->supplies[i].supply = supply_names[i];

ret = regulator_bulk_get(wm8350->dev, ARRAY_SIZE(priv->supplies),
ret = devm_regulator_bulk_get(wm8350->dev, ARRAY_SIZE(priv->supplies),
priv->supplies);
if (ret != 0)
return ret;
Expand Down Expand Up @@ -1607,8 +1607,6 @@ static int wm8350_codec_remove(struct snd_soc_codec *codec)

wm8350_clear_bits(wm8350, WM8350_POWER_MGMT_5, WM8350_CODEC_ENA);

regulator_bulk_free(ARRAY_SIZE(priv->supplies), priv->supplies);

return 0;
}

Expand Down

0 comments on commit 2582173

Please sign in to comment.