gpio: Remove unused and obsoleted irq_to_gpio()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Jan 2023 13:39:42 +0000 (15:39 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 30 Jan 2023 14:55:29 +0000 (15:55 +0100)
commita5ec171efdc6151d3a51c4e1a59abb3ab9d8b710
tree34c2decc74b958375d87c37c330e90e74eba9bbe
parent029d14e900e7766eb2330bd4912dc28c0466db06
gpio: Remove unused and obsoleted irq_to_gpio()

irq_to_gpio() is legacy and unused API, remove it for good.

This leaves gpio_to_irq() as it's used yet in many places.
Nevertheless, removal of its counterpart is a good signal
to whoever even trying to consider using them that do not.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/driver-api/gpio/legacy.rst
Documentation/translations/zh_CN/driver-api/gpio/legacy.rst
Documentation/translations/zh_TW/gpio.txt
arch/m68k/include/asm/gpio.h
arch/sh/include/asm/gpio.h
include/linux/gpio.h