sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 14 Feb 2013 21:12:11 +0000 (22:12 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:39 +0000 (13:33 +0100)
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 <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>

No differences found