[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaLkmyqKi95GZPNb3y1mK57DqWPGsAOmw_ZyqcYoUUmKA@mail.gmail.com>
Date: Wed, 27 Mar 2013 09:11:41 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Jean Delvare <khali@...ux-fr.org>
Cc: Peter Tyser <ptyser@...-inc.com>,
LKML <linux-kernel@...r.kernel.org>,
Grant Likely <grant.likely@...retlab.ca>
Subject: Re: [PATCH 1/2 v2] gpio-ich: Check for pin availability at request time
On Tue, Mar 5, 2013 at 9:22 PM, Jean Delvare <khali@...ux-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 <khali@...ux-fr.org>
> Cc: Peter Tyser <ptyser@...-inc.com>
> Cc: Grant Likely <grant.likely@...retlab.ca>
> Cc: Linus Walleij <linus.walleij@...aro.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists