diff options
author | Geert Uytterhoeven <[email protected]> | 2015-03-12 11:09:14 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-03-18 02:13:47 +0100 |
commit | cef28a289482175b26f7a5ae4a1337c792cea9c5 (patch) | |
tree | 473e44bd6d2df4ed7736ecffb544548d99a47b3b /lib/mpi/mpiutil.c | |
parent | dc70071550c2b8b1185d086b0f1954dfbc63aee2 (diff) |
pinctrl: sh-pfc: Use unsigned int for register/field widths and offsets
As register and field widths and offsets are in the range 1..32, use
unsigned int (mostly replacing unsigned long) to store them in local
variables and for passing them around.
Move to one variable per line, move variables to the beginning of the
block where they are used, and drop superfluous initializations while we
are at it.
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