summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorAxel Lin2011-06-14 13:12:57 +0200
committerGrant Likely2011-06-16 21:44:29 +0200
commit33300571b1111264fd0c5701733f7576323f3e35 (patch)
treed28ef4ba45085ef706522ec0930088f8f15b468c /drivers/of
parentgpio/pca953x: Deprecate meaningless device-tree bindings (diff)
downloadkernel-qcow2-linux-33300571b1111264fd0c5701733f7576323f3e35.tar.gz
kernel-qcow2-linux-33300571b1111264fd0c5701733f7576323f3e35.tar.xz
kernel-qcow2-linux-33300571b1111264fd0c5701733f7576323f3e35.zip
gpio/ml-ioh: fix off-by-one for displaying variable i in dev_err
with the "for (; i != 0; i--)" sytax, i-- will be executed after the iteration. thus dev_err shows wrong i value. Switch to "while(--i >= 0)" which is better in readability. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions