git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a68fdca
)
sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic
author
Laurent Pinchart
<laurent.pinchart+renesas@ideasonboard.com>
Thu, 14 Feb 2013 21:12:11 +0000
(22:12 +0100)
committer
Laurent 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