aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2015-01-23 11:38:00 +0100
committerSebastian Reichel <[email protected]>2015-01-23 16:03:00 +0100
commita30067bb541f834b22c9cfa2dd99ebe3da709115 (patch)
tree0f84a1fa728a02228fb5ea19c11d063061c5b48b /lib/cpu-notifier-error-inject.c
parent24d3b15a1844e3d2c7f5b0d9c482ece98386ede1 (diff)
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions