From: Krzysztof Kozlowski Date: Fri, 23 Jan 2015 10:38:00 +0000 (+0100) Subject: power: test_power: Use enum as index for array of supplies X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~133^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a30067bb541f834b22c9cfa2dd99ebe3da709115;p=pandora-kernel.git power: test_power: Use enum as index for array of supplies Replace hard-coded numbers for indices of power supply array with enum. This improves a little the readability as one does not have to guess which power supply is associated with number. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed