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

Linus Walleij linus.walleij at linaro.org
Thu Feb 18 15:21:51 PST 2016


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

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

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list