Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1337776

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

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 4/5] gpio: ep93xx: remove private irq_to_gpio function
Date 2016-02-19 00:30 +0100
Message-ID <r3Gbg-4vK-1@gated-at.bofh.it> (permalink)
References <r2Q30-1iJ-5@gated-at.bofh.it> <r2Q30-1iJ-7@gated-at.bofh.it> <r2Q30-1iJ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2 4/5] gpio: ep93xx: remove private irq_to_gpio function Arnd Bergmann <arnd@arndb.de> - 2016-02-16 16:50 +0100
  Re: [PATCH v2 4/5] gpio: ep93xx: remove private irq_to_gpio function Linus Walleij <linus.walleij@linaro.org> - 2016-02-19 00:30 +0100

csiph-web