From: Stephen Boyd Date: Fri, 7 Mar 2014 06:44:41 +0000 (-0800) Subject: pinctrl: msm: Check for ngpios > MAX_NR_GPIO X-Git-Tag: v3.15-rc1~150^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd278b8604e5c37c61853eb09134cbfea03b7de;p=pandora-kernel.git pinctrl: msm: Check for ngpios > MAX_NR_GPIO Fail the probe and print a warning if SoC specific drivers have more GPIOs than there can be accounted for in the static bitmaps. This should avoid silent corruption/failures in the future. Signed-off-by: Stephen Boyd Acked-by: Bjorn Andersson Signed-off-by: Linus Walleij --- Reading git-diff-tree failed