Re: [PATCH v2 4/5] gpio: ep93xx: remove private irq_to_gpio function

From: Linus Walleij
Date: Thu Feb 18 2016 - 18:21:56 EST


On Tue, Feb 16, 2016 at 4:40 PM, Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxx>

Holding this back waiting for the dependent cleanup to come in.

Yours,
Linus Walleij