mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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: Brian Austin <briann.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
9cf4469020
commit
38f57532ed
1 changed files with 1 additions and 0 deletions
|
|
@ -549,6 +549,7 @@ static int cs35l32_i2c_probe(struct i2c_client *i2c_client,
|
|||
err_disable:
|
||||
regulator_bulk_disable(ARRAY_SIZE(cs35l32->supplies),
|
||||
cs35l32->supplies);
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int cs35l32_i2c_remove(struct i2c_client *i2c_client)
|
||||
|
|
|
|||
Loading…
Reference in a new issue