regulator: s2mps11: Use devm_regulator_register
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 4 Sep 2013 06:42:15 +0000 (12:12 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:28:40 +0000 (00:28 +0100)
commitd55cd794d6ae9d0730c0b039c0a2d5d0e5ff12c4
tree59b9e4ab4e64383c35d8e22cb9bb397264586ad1
parentb15f5f7603fe9963e2201874f6e6c6cc0410b4d1
regulator: s2mps11: Use devm_regulator_register

Commit e398b51a ("regulator: s2mps11: Convert to devm_regulator_register()")
intended to do this conversion. However the actual conversion to devm_* got
missed out. Fix this.

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