forked from luck/tmp_suning_uos_patched
Merge remote-tracking branch 'asoc/topic/wm8960' into asoc-next
This commit is contained in:
commit
a275ddf7b5
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user