[PATCH v2 4/5] gpio: ep93xx: remove private irq_to_gpio function
From: Linus Walleij <hidden>
Date: 2016-02-18 23:21:53
Also in:
linux-gpio, linux-mips, lkml
From: Linus Walleij <hidden>
Date: 2016-02-18 23:21:53
Also in:
linux-gpio, linux-mips, lkml
On Tue, Feb 16, 2016 at 4:40 PM, Arnd Bergmann [off-list ref] 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@arndb.de>
Holding this back waiting for the dependent cleanup to come in. Yours, Linus Walleij