]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/sysdev: drop simple gpio
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 31 Oct 2019 13:47:30 +0000 (13:47 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Nov 2019 04:41:34 +0000 (15:41 +1100)
commitdf2d19c6de2137ed7ebd3a5235ce571768ce2be8
tree521c51d09c31fb5e369906a05f5e513941d5a905
parentac0e155b7d378f6398297ed2872e4da026d46536
powerpc/sysdev: drop simple gpio

There is a config item CONFIG_SIMPLE_GPIO which
provides simple memory mapped GPIOs specific to powerpc.

However, the only platform which selects this option is
mpc5200, and this platform doesn't use it.

There are three boards calling simple_gpiochip_init(), but
as they don't select CONFIG_SIMPLE_GPIO, this is just a nop.

Simple_gpio is just redundant with the generic MMIO GPIO
driver which can be found in driver/gpio/ and selected via
CONFIG_GPIO_GENERIC_PLATFORM, so drop simple_gpio driver.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/bf930402613b41b42d0441b784e0cc43fc18d1fb.1572529632.git.christophe.leroy@c-s.fr
Documentation/devicetree/bindings/board/fsl-board.txt
arch/powerpc/configs/mpc5200_defconfig
arch/powerpc/platforms/83xx/mpc836x_mds.c
arch/powerpc/platforms/85xx/mpc85xx_mds.c
arch/powerpc/platforms/86xx/mpc8610_hpcd.c
arch/powerpc/platforms/Kconfig
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/simple_gpio.c [deleted file]
arch/powerpc/sysdev/simple_gpio.h [deleted file]