pinctrl: sh-pfc: Use unsigned int for register/field widths and offsets
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 12 Mar 2015 10:09:14 +0000 (11:09 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Mar 2015 01:13:47 +0000 (02:13 +0100)
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 <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/core.c
drivers/pinctrl/sh-pfc/core.h
drivers/pinctrl/sh-pfc/gpio.c

Simple merge
Simple merge
Simple merge