diff options
author | Jean Delvare <khali@linux-fr.org> | 2013-03-06 00:22:38 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-27 12:11:09 +0400 |
commit | 25f27db48e9d741cf3494f36e287d3c34a0fdba3 (patch) | |
tree | aef9f0205a7d1ebbcf0d0a7c3021297adcdcb510 /drivers/gpio/gpio-viperboard.c | |
parent | 753c5983ddd38022a680a36f5d66b23b185c9b62 (diff) | |
download | linux-25f27db48e9d741cf3494f36e287d3c34a0fdba3.tar.xz |
gpio-ich: Check for pin availability at request time
Stop checking for pin availability in direction and get functions.
These functions can be called repeatedly, so checking every time is
bad for performance. Now that requesting GPIO pins is no longer
optional, checking for availability at pin request time is enough.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-viperboard.c')
0 files changed, 0 insertions, 0 deletions