]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: max8973-regulator: Use devm_regulator_register
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 4 Sep 2013 05:38:00 +0000 (11:08 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:28:41 +0000 (00:28 +0100)
commit8d581fd01c922f9df586074078d70027156cfff8
tree53ac29e38b7854d72cb904ee472cfc027ff1b334
parent5ecdf140f21c50c08be34a83b44f28722813366c
regulator: max8973-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/max8973-regulator.c