]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: lp8788-buck: use devm_regulator_register()
authorJingoo Han <jg1.han@samsung.com>
Mon, 30 Sep 2013 00:55:12 +0000 (09:55 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 17:10:59 +0000 (18:10 +0100)
commit3343fa174883b89c0151dac24df86e351eca85e4
treeb3a6eee505f1d242ab6c2811a694638fb23154b5
parented602534df5d07251c074bafe75feed643c588d1
regulator: lp8788-buck: 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-buck.c