MIPS: lantiq: drop ltq_gpio_request() and gpio_to_irq()
authorJohn Crispin <blogic@openwrt.org>
Fri, 11 May 2012 16:45:25 +0000 (18:45 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 21 May 2012 13:31:50 +0000 (14:31 +0100)
commitbd51db7f3bf2ba23ff55f6d5fdcec04c74df13e4
treedc3a006b1679726d1eadca10c9d35f1b330c3fdc
parent3645da0276ae9f6938ff29b13904b803ecb68424
MIPS: lantiq: drop ltq_gpio_request() and gpio_to_irq()

As part of the conversion to OF we also implement pinctrl drivers. Previously
we used ltq_gpio_request() to set pinmuxing. This is now obselete and we can
hence drop the function.

Additionally we remove gpio_to_irq() from the gpio driver and move it to a
header file.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3801/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-lantiq/gpio.h [new file with mode: 0644]
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
arch/mips/lantiq/xway/gpio.c
arch/mips/lantiq/xway/gpio_stp.c
arch/mips/pci/pci-lantiq.c