projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eef085
)
ASoC: cs35l32: Remove unneeded regulator_bulk_free call in cs35l32_i2c_remove
author
Axel Lin
<axel.lin@ingics.com>
Thu, 28 Aug 2014 09:54:38 +0000
(17:54 +0800)
committer
Mark Brown
<broonie@linaro.org>
Thu, 28 Aug 2014 18:06:44 +0000
(19:06 +0100)
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>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/cs35l32.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs35l32.c
b/sound/soc/codecs/cs35l32.c
index ca897c49afdf716aa73684f866842e644fbf3404..b32d7a9d0c0fbead8352674291540f20abb0d618 100644
(file)
--- a/
sound/soc/codecs/cs35l32.c
+++ b/
sound/soc/codecs/cs35l32.c
@@
-562,8
+562,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;
}