commit | 8538c4075e8fab89e23d35cf27cd5e7e33f7e71e | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Jan 26 10:25:13 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Jan 26 19:10:55 2015 +0000 |
tree | b2fd917267f489b43be89434de4a9fe8f6a512fc | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
regulator: lp872x: Remove **regulators from struct lp872x Current code is using devm_regulator_register(), so we don't need to store *rdev in struct lp872x for clean up. Also clean up lp872x_probe() a bit to remove unnecessary goto and num_regulators variable. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>