[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABxcv==6ht31oAcFiwa14LfQ7BPM87HYBWw8bOJbygOmA7TFFw@mail.gmail.com>
Date: Fri, 20 Mar 2015 19:44:16 +0100
From: Javier Martinez Canillas <javier@...hile0.org>
To: grygorii.strashko@...aro.org
Cc: Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Kevin Hilman <khilman@...prootsystems.com>,
Tony Lindgren <tony@...mide.com>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
Linux GPIO List <linux-gpio@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/8] gpio: omap: convert debounce functions switch to use
gpio offset
On Thu, Mar 19, 2015 at 6:25 PM, <grygorii.strashko@...aro.org> wrote:
> From: Grygorii Strashko <grygorii.strashko@...aro.org>
>
> Convert debounce functions to use GPIO offset instead of system
> GPIO numbers. This allows to drop unneeded conversations between
> system GPIO <-> GPIO offset which are done in many places and
> many times.
> It is safe to do now because:
> - gpiolib always passes GPIO offset to GPIO controller
> - OMAP GPIO driver converted to use IRQ domain
>
> This is preparation step before removing:
> #define GPIO_INDEX(bank, gpio)
> #define GPIO_BIT(bank, gpio)
> int omap_irq_to_gpio()
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@...aro.org>
> ---
Acked-by: Javier Martinez Canillas <javier@...hile0.org>
--
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