diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-11-04 09:49:41 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-04 20:41:28 +0000 |
commit | eca29da9a2e832936c9077b8e69adb4f4b22b0d5 (patch) | |
tree | 302b334e339687b8182a7f76dfef0fd5ba61a807 /drivers/regulator/tps6524x-regulator.c | |
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>
Diffstat (limited to 'drivers/regulator/tps6524x-regulator.c')
0 files changed, 0 insertions, 0 deletions