regulator: lp3971: Convert to devm_regulator_register
authorAxel Lin <axel.lin@ingics.com>
Wed, 13 Nov 2013 06:52:26 +0000 (14:52 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 13 Nov 2013 13:24:44 +0000 (13:24 +0000)
commit56dde80a1a62b1f84f9ba7d2aee267dc9476ee58
treef9e49adffa8dac744e70b0a974770361aa12f908
parentd4d5cef649d1042454c286474343cec50ff1cb60
regulator: lp3971: Convert to devm_regulator_register

Both num_regulators and **rdev are no longer required after this conversion,
thus remove them from struct lp3971.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/lp3971.c