]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: lp8788-ldo: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:55:51 +0000 (09:55 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:10:59 +0000 (18:10 +0100)
commit0b7bb09054aebe66fd803c8f88015046b96cb47f
tree3d48f963eab3fcb3a4437ee3fb9e59db2ff119f3
parent3343fa174883b89c0151dac24df86e351eca85e4
regulator: lp8788-ldo: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/lp8788-ldo.c