Skip to content

Commit

Permalink
Merge remote-tracking branch 'asoc/topic/wm8960' into asoc-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Dec 9, 2012
2 parents 7a7f987 + c5e6f5f commit e7d28c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8960.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ static __devinit int wm8960_i2c_probe(struct i2c_client *i2c,
if (wm8960 == NULL)
return -ENOMEM;

wm8960->regmap = regmap_init_i2c(i2c, &wm8960_regmap);
wm8960->regmap = devm_regmap_init_i2c(i2c, &wm8960_regmap);
if (IS_ERR(wm8960->regmap))
return PTR_ERR(wm8960->regmap);

Expand Down

0 comments on commit e7d28c8

Please sign in to comment.