Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a83269d authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarBrian Austin <brian.austin@cirrus.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 7eef0855
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}