commit | eca29da9a2e832936c9077b8e69adb4f4b22b0d5 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | Tue Nov 04 09:49:41 2014 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue Nov 04 20:41:28 2014 +0000 |
tree | 302b334e339687b8182a7f76dfef0fd5ba61a807 | |
parent | 78ce612860ce80edbec9171b4a786ce131a9631c [diff] |
regulator: max77686: Consistently index opmode array by rdev id Mixed indexes were used for array of opmodes in max77686_data structure: id of regulator and index of regulator_desc array. These indexes are exactly the same but the mixture may confuse. Use consistently the id of regulator. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>