regulator: lp3972: Convert to devm_regulator_register
authorAxel Lin <axel.lin@ingics.com>
Wed, 13 Nov 2013 06:55:14 +0000 (14:55 +0800)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 14:02:18 +0000 (14:02 +0000)
commit93227c801372522d6f667aac0de2cacc7995d8b9
treeba27b9c002e6255f62d54615f272265337ef6bfb
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
regulator: lp3972: Convert to devm_regulator_register

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

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