commit | 0b73ee5d534cc6dcb96efb9eac4cf96b40910911 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Thu Feb 14 22:12:11 2013 +0100 |
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Fri Mar 15 13:33:39 2013 +0100 |
tree | 8fd4f67ba06eae6a0413476c4abb1de01b09be42 | |
parent | a68fdca9b0447a0e7a85ee378510509be8b70d90 [diff] |
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 <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>