]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: tps6524x: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:58:36 +0000 (09:58 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:11:30 +0000 (18:11 +0100)
commit5e0855759ca621bba454747fc1b5b76a7290f50f
tree9240c7a311efb92b3bd5865dd73c363503d25c29
parent11c0da7bb414505ff9a157af2b1301877a3726bd
regulator: tps6524x: use devm_regulator_register()

Use devm_regulator_register() to make cleanup paths simpler,
and remove unnecessary remove().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps6524x-regulator.c