]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: max8907-regulator: Use devm_regulator_register
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 4 Sep 2013 05:37:59 +0000 (11:07 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:28:41 +0000 (00:28 +0100)
commit5ecdf140f21c50c08be34a83b44f28722813366c
tree7a8b4d38ca51cb137813ea52c771b86a4a0c7a3f
parentdcfb6b56f18b5d9eff9b784d4e5b4a085f149de2
regulator: max8907-regulator: Use devm_regulator_register

devm_* simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max8907-regulator.c