[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZ4Kj0a5yO9F-U6fZ3PTy3jhvsjXKAXudy7FvM+S2pfFA@mail.gmail.com>
Date: Fri, 27 Mar 2015 11:06:50 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Grygorii Strashko <grygorii.strashko@...aro.org>
Cc: Javier Martinez Canillas <javier@...hile0.org>,
Alexandre Courbot <gnurou@...il.com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Kevin Hilman <khilman@...prootsystems.com>,
Tony Lindgren <tony@...mide.com>,
Linux-OMAP <linux-omap@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 5/8] gpio: omap: convert gpio irq functions to use GPIO offset
On Mon, Mar 23, 2015 at 1:18 PM, <grygorii.strashko@...aro.org> wrote:
> From: Grygorii Strashko <grygorii.strashko@...aro.org>
>
> Convert GPIO IRQ 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, so
> struct irq_data->hwirq contains GPIO offset
>
> This is preparation step before removing:
> #define GPIO_INDEX(bank, gpio)
> #define GPIO_BIT(bank, gpio)
> int omap_irq_to_gpio()
>
> Tested-by: Tony Lindgren <tony@...mide.com>
> Tested-by: Aaro Koskinen <aaro.koskinen@....fi>
> Acked-by: Santosh Shilimkar <ssantosh@...nel.org>
> Acked-by: Javier Martinez Canillas <javier@...hile0.org>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@...aro.org>
Patch applied.
Yours,
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