commit | 5b60ee576a02cb6b2371dec085ef2623a7df77b9 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Mar 07 21:53:56 2019 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Mar 11 16:36:18 2019 +0000 |
tree | f5c2c40e75a20421eda1b712831c86743e78de53 | |
parent | 74b060d6845f09a5b2db6df653a3c0e90d4fa560 [diff] |
regulator: ab3100: Remove ab3100_regulators_remove function Current code is using devm_regulator_register() so it is not necessary to save reg->rdev for clean up. Remove *rdev from struct ab3100_regulator, then ab3100_regulators_remove() can be removed as well. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>