28 Aug
2014
28 Aug
'14
11:54 a.m.
The regulator_bulk_free() call is not required because current code is using devm_regulator_bulk_get().
Signed-off-by: Axel Lin axel.lin@ingics.com --- sound/soc/codecs/cs35l32.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/sound/soc/codecs/cs35l32.c b/sound/soc/codecs/cs35l32.c index 380c212..718569f 100644 --- a/sound/soc/codecs/cs35l32.c +++ b/sound/soc/codecs/cs35l32.c @@ -548,8 +548,6 @@ static int cs35l32_i2c_remove(struct i2c_client *i2c_client) if (cs35l32->reset_gpio) gpiod_set_value_cansleep(cs35l32->reset_gpio, 0);
- regulator_bulk_free(ARRAY_SIZE(cs35l32->supplies), cs35l32->supplies); - return 0; }
--
1.9.1