commit | 7ddec641214914ad878811822ec24e01f3d1c97e | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | Thu Feb 18 14:57:03 2016 +0900 |
committer | Mark Brown <broonie@kernel.org> | Sat Feb 20 01:07:40 2016 +0900 |
tree | 7ab64eccb48c5a36c62c9b2504f5aa651ac8c69f | |
parent | 297eaaa6d0bf09a91045e1d8c9b1e555d8b91d8a [diff] |
regulator: s2mps11: Use local variable for number of regulators Remove the s2mps11_info.rdev_num because it is not used outside of probe. Suggested-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Andi Shyti <andi.shyti@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>