From: Laurent Pinchart Date: Thu, 14 Feb 2013 21:12:11 +0000 (+0100) Subject: sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~46^2^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b73ee5d534cc6dcb96efb9eac4cf96b40910911;p=pandora-kernel.git sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic The function is guaranteed to be called with a gpio number smaller than nr_pins. The condition can the be simplified, and the function inlined. Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij --- Reading git-diff-tree failed