aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2015-03-12 11:09:15 +0100
committerLinus Walleij <[email protected]>2015-03-18 02:14:45 +0100
commit17c7cbb0e7b7a877f1ce2063d7f869801b24cd6a (patch)
tree7406be08e11a14e9cdc6c315262ffec6cd7c8353 /lib/mpi/mpiutil.c
parentcef28a289482175b26f7a5ae4a1337c792cea9c5 (diff)
pinctrl: sh-pfc: Use reg_width instead of reg as sentinel
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 <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions