Re: [PATCH 1/6] regulator: max77686: Consistently index opmode array by rdev id

2014-11-04 Thread Mark Brown
On Tue, Nov 04, 2014 at 09:49:41AM +0100, Krzysztof Kozlowski wrote: > Mixed indexes were used for array of opmodes in max77686_data structure: > id of regulator and index of regulator_desc array. Applied, thanks. signature.asc Description: Digital signature

[PATCH 1/6] regulator: max77686: Consistently index opmode array by rdev id

2014-11-04 Thread Krzysztof Kozlowski
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 --- drivers/regulator/max77686.c |