# Re: \[PATCH 1/4\] gpio: remove broken irq\_to\_gpio() interface

- From: Linus Walleij \<hidden\>
- Date: 2016-02-16 15:42:52 
- List: linux-mips
- Page: https://ratatoskr.run/linux-mips/2016/02/4686765
- Thread: https://ratatoskr.run/linux-arm-kernel/2016/02/4685755/t.md

```text
On Mon, Feb 15, 2016 at 4:46 PM, Arnd Bergmann [ref] wrote:

> gpiolib has removed the irq_to_gpio() API several years ago,
> but the global header still provided a non-working stub.
>
> Apparently one new user has shown up in arch/mips, so this patch
> moves the broken definition to where it is used, ensuring that
> we get new users but not changing the current behavior on jz4740.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Patch applied.

I expect the driver maintainer to deal with the resulting
deprecation fallout.

Yours,
Linus Walleij
```
