diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-02-15 01:12:11 +0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-03-15 16:33:39 +0400 |
commit | 0b73ee5d534cc6dcb96efb9eac4cf96b40910911 (patch) | |
tree | 8fd4f67ba06eae6a0413476c4abb1de01b09be42 /drivers/pinctrl/pinctrl-exynos.c | |
parent | a68fdca9b0447a0e7a85ee378510509be8b70d90 (diff) | |
download | linux-0b73ee5d534cc6dcb96efb9eac4cf96b40910911.tar.xz |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-exynos.c')
0 files changed, 0 insertions, 0 deletions