Commit 38f57532 authored by Brian Austin's avatar Brian Austin Committed by Mark Brown

ASoC: cs35l32: fix compile warning for i2c_probe

Forgot to add a return for err_disable goto statement.
Causes compile warning of control reaching end of non-void
Signed-off-by: default avatarBrian Austin <briann.austin@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 9cf44690
...@@ -549,6 +549,7 @@ static int cs35l32_i2c_probe(struct i2c_client *i2c_client, ...@@ -549,6 +549,7 @@ static int cs35l32_i2c_probe(struct i2c_client *i2c_client,
err_disable: err_disable:
regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies), regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies),
cs35l32->supplies); cs35l32->supplies);
return ret;
} }
static int cs35l32_i2c_remove(struct i2c_client *i2c_client) static int cs35l32_i2c_remove(struct i2c_client *i2c_client)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment