summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs35l32.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-08-28 13:54:38 +0400
committerMark Brown <broonie@linaro.org>2014-08-28 22:06:44 +0400
commit1a83269d5c41b77f2a4bbb3828c668c96832742e (patch)
tree1e8001e45943e7e15b4d2e40b237f34d0a966f4f /sound/soc/codecs/cs35l32.c
parent7eef08554ca35454e6da0de8a74f7c96bc2e58e0 (diff)
downloadlinux-1a83269d5c41b77f2a4bbb3828c668c96832742e.tar.xz
ASoC: cs35l32: Remove unneeded regulator_bulk_free call in cs35l32_i2c_remove
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>
Diffstat (limited to 'sound/soc/codecs/cs35l32.c')
-rw-r--r--sound/soc/codecs/cs35l32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/cs35l32.c b/sound/soc/codecs/cs35l32.c
index ca897c49afdf..b32d7a9d0c0f 100644
--- 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;
}