On Tue, Mar 5, 2013 at 9:22 PM, Jean Delvare <kh...@linux-fr.org> wrote:
> 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 <kh...@linux-fr.org> > Cc: Peter Tyser <pty...@xes-inc.com> > Cc: Grant Likely <grant.lik...@secretlab.ca> > Cc: Linus Walleij <linus.wall...@linaro.org> > --- > Changes since v1: > * Also drop the check from direction functions, as suggested by Peter. Patch applied. Thanks! Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/