regulator: gpio: Convert to devm_regulator_register

Use devm_regulator_register to simplify the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Axel Lin 2019-03-08 14:15:28 +08:00 • committed by Mark Brown
commit 7cdc2ee7bf
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0