regulator: ab8500: Remove *regulator from struct ab8500_regulator_info

Current code is using devm_regulator_register() so we don't need to save
*regulator for clean up, use a local variable instead.

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-04-12 22:11:58 +08:00 • committed by Mark Brown
commit 7c6b8e3b9f
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0