diff options
author | Jean Delvare <khali@linux-fr.org> | 2013-03-05 21:22:38 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-27 09:11:09 +0100 |
commit | 25f27db48e9d741cf3494f36e287d3c34a0fdba3 (patch) | |
tree | aef9f0205a7d1ebbcf0d0a7c3021297adcdcb510 /drivers/gpio/gpio-mxs.c | |
parent | 753c5983ddd38022a680a36f5d66b23b185c9b62 (diff) | |
download | blackbird-op-linux-25f27db48e9d741cf3494f36e287d3c34a0fdba3.tar.gz blackbird-op-linux-25f27db48e9d741cf3494f36e287d3c34a0fdba3.zip |
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-mxs.c')
0 files changed, 0 insertions, 0 deletions