From: Geert Uytterhoeven Date: Thu, 12 Mar 2015 10:09:14 +0000 (+0100) Subject: pinctrl: sh-pfc: Use unsigned int for register/field widths and offsets X-Git-Tag: omap-for-v4.2/o2_dc~138^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cef28a289482175b26f7a5ae4a1337c792cea9c5;p=pandora-kernel.git 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 Acked-by: Laurent Pinchart Signed-off-by: Linus Walleij --- Reading git-diff-tree failed