From: Krzysztof Kozlowski Date: Tue, 4 Nov 2014 08:49:41 +0000 (+0100) Subject: regulator: max77686: Consistently index opmode array by rdev id X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~23^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eca29da9a2e832936c9077b8e69adb4f4b22b0d5;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed