regulator: ab3100: Remove ab3100_regulators_remove function
authorAxel Lin <axel.lin@ingics.com>
Thu, 7 Mar 2019 13:53:56 +0000 (21:53 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:36:18 +0000 (16:36 +0000)
commit5b60ee576a02cb6b2371dec085ef2623a7df77b9
treef5c2c40e75a20421eda1b712831c86743e78de53
parent74b060d6845f09a5b2db6df653a3c0e90d4fa560
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>
drivers/regulator/ab3100.c