From: Laurent Pinchart Date: Wed, 28 Nov 2012 16:51:00 +0000 (+0100) Subject: sh-pfc: Replace first_gpio and last_gpio with nr_gpios X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~46^2^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7a7ca5781fa2ac40319acc7125c487db5b26d91;p=pandora-kernel.git sh-pfc: Replace first_gpio and last_gpio with nr_gpios The SoC information first_gpio field is always equal to 0, and the last_gpio field is the index of the last entry in the pinmux_gpios array. Replace the first_gpio and last_gpio fields by a nr_gpios field, and initialize it to ARRAY_SIZE(pinmux_gpios). Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij --- Reading git-diff-tree failed