git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cef28a2
)
pinctrl: sh-pfc: Use reg_width instead of reg as sentinel
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Thu, 12 Mar 2015 10:09:15 +0000
(11:09 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 18 Mar 2015 01:14:45 +0000
(
02:14
+0100)
All other loops over sh_pfc_soc_info.data_regs[] use
pinmux_data_reg.regwidth as the sentinel, which is safer as zero is
never a valid regwidth value (reg could be zero if we start using it to
store an offset).
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/gpio.c
patch
|
blob
|
history
diff --cc
drivers/pinctrl/sh-pfc/gpio.c
Simple merge