gpio: remove the obsolete MX35 3DS BOARD MC9S08DZ60 GPIO functions
Subsystems (2)
PATCH 1/1 gpio: remove the obsolete MX35 3DS BOARD MC9S08DZ60 GPIO functions
Commit e1324ece2af4 ("ARM: imx: Remove i.MX35 board files") removes the config MACH_MX35_3DS in arch/arm/mach-imx/Kconfig.
Hence, since then, the MX35 3DS BOARD MC9S08DZ60 GPIO functions are dead code as its config GPIO_MC9S08DZ60 depends on the config MACH_MX35_3DS.
Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs:
MACH_MX35_3DS
Referencing files: drivers/gpio/Kconfig
Remove the obsolete MX35 3DS BOARD MC9S08DZ60 GPIO functions.
--- drivers/gpio/Kconfig | 6 -- drivers/gpio/Makefile | 1 - drivers/gpio/gpio-mc9s08dz60.c | 112 --------------------------------- 3 files changed, 119 deletions(-) delete mode 100644 drivers/gpio/gpio-mc9s08dz60.c
drivers/gpio/Kconfig +0 -6
@@ -1010,12 +1010,6 @@ config GPIO_MAX732X_IRQ Say yes here to enable the max732x to be used as an interrupt controller. It requires the driver to be built in the kernel. -config GPIO_MC9S08DZ60 - bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions" - depends on I2C=y && MACH_MX35_3DS - help - Select this to enable the MC9S08DZ60 GPIO driver - config GPIO_PCA953X tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" select REGMAP_I2C
drivers/gpio/Makefile +0 -1
@@ -92,7 +92,6 @@ obj-$(CONFIG_GPIO_MAX77620) += gpio-max77620.o obj-$(CONFIG_GPIO_MAX77650) += gpio-max77650.o obj-$(CONFIG_GPIO_MB86S7X) += gpio-mb86s7x.o obj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o -obj-$(CONFIG_GPIO_MC9S08DZ60) += gpio-mc9s08dz60.o obj-$(CONFIG_GPIO_MENZ127) += gpio-menz127.o obj-$(CONFIG_GPIO_MERRIFIELD) += gpio-merrifield.o obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o
drivers/gpio/gpio-mc9s08dz60.c deleted +0 -112
112 lines not on this page · raw message
Signature · 1 line
2.26.2
Quoted 6 lines · Lukas Bulwahn
Commit
e1324ece2af4("ARM: imx: Remove i.MX35 board files") removes the configMACH_MX35_3DSinarch/arm/mach-imx/Kconfig.Hence, since then, the MX35 3DS BOARD MC9S08DZ60 GPIO functions are dead code as its config
GPIO_MC9S08DZ60depends on the configMACH_MX35_3DS.
Quoted 8 lines
Luckily,
./scripts/checkkconfigsymbols.pywarns on non-existing configs:
MACH_MX35_3DS
Referencing files:drivers/gpio/KconfigRemove the obsolete MX35 3DS BOARD MC9S08DZ60 GPIO functions.
Signed-off-by Lukas Bulwahn <[email protected]>
Makes sense:
Yours,
Linus Walleij
Hi Lukas,
Quoted 7 lines · Lukas Bulwahn
Commit
e1324ece2af4("ARM: imx: Remove i.MX35 board files") removes the configMACH_MX35_3DSinarch/arm/mach-imx/Kconfig.Hence, since then, the MX35 3DS BOARD MC9S08DZ60 GPIO functions are dead code as its config
GPIO_MC9S08DZ60depends on the configMACH_MX35_3DS.
Quoted 8 lines
Luckily,
./scripts/checkkconfigsymbols.pywarns on non-existing configs:
MACH_MX35_3DS
Referencing files:drivers/gpio/KconfigRemove the obsolete MX35 3DS BOARD MC9S08DZ60 GPIO functions.
Signed-off-by Lukas Bulwahn <[email protected]>
Quoted 7 lines · Lukas Bulwahn
Commit
e1324ece2af4("ARM: imx: Remove i.MX35 board files") removes the configMACH_MX35_3DSinarch/arm/mach-imx/Kconfig.Hence, since then, the MX35 3DS BOARD MC9S08DZ60 GPIO functions are dead code as its config
GPIO_MC9S08DZ60depends on the configMACH_MX35_3DS.
Quoted 8 lines
Luckily,
./scripts/checkkconfigsymbols.pywarns on non-existing configs:
MACH_MX35_3DS
Referencing files:drivers/gpio/KconfigRemove the obsolete MX35 3DS BOARD MC9S08DZ60 GPIO functions.
Signed-off-by Lukas Bulwahn <[email protected]>
Patch applied, thanks!
Bart