[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYrUxkOGvxi85zAn8O32otLNGtBGrvQPSqvnm1htp=+-w@mail.gmail.com>
Date: Fri, 19 Feb 2016 00:21:51 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Russell King <rmk+kernel@....linux.org.uk>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Alexandre Courbot <gnurou@...il.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Ralf Baechle <ralf@...ux-mips.org>,
Linux MIPS <linux-mips@...ux-mips.org>
Subject: Re: [PATCH v2 4/5] gpio: ep93xx: remove private irq_to_gpio function
On Tue, Feb 16, 2016 at 4:40 PM, Arnd Bergmann <arnd@...db.de> wrote:
> The ep93xx goes through its own back-and-forth dance every time
> it wants to know the gpio number for an irq line, when it really
> just hardcodes a fixed offset in ep93xx_gpio_to_irq().
>
> This removes the pointless macro and replaces the conversion inside
> of the driver with simple add/subtract operations, using an
> explicit macro.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Holding this back waiting for the dependent cleanup to come in.
Yours,
Linus Walleij
Powered by blists - more mailing lists