aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2012-06-06 20:01:38 +0800
committerMark Brown <[email protected]>2012-06-08 07:36:38 +0800
commitfedd89b1aafd6b2bf7c0b4009fd616a02484ae80 (patch)
tree50e89e70e885d2a42a5aa2c463ce0515b35db7f8 /include
parent999f0c7cb8e7c378bd1f3fcd56cf8dc5a30c83e4 (diff)
regulator: palmas: Slightly code change for better readability
It's a little bit hard to read that the "else" case means id == PALMAS_REG_SMPS10. if (id != PALMAS_REG_SMPS10){ do something for the cases id != PALMAS_REG_SMPS10; } else { do something for the case id == PALMAS_REG_SMPS10; } This patch changes above syntax to switch statement. Signed-off-by: Axel Lin <[email protected]> Acked-by: Graeme Gregory <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions