On Tue, Mar 5, 2013 at 9:22 PM, Jean Delvare <[email protected]> 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 <[email protected]> > Cc: Peter Tyser <[email protected]> > Cc: Grant Likely <[email protected]> > Cc: Linus Walleij <[email protected]> > --- > 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

