Skip to contentSkip to conversation

i2c: remove dead PMC MSP TWI/SMBus/I2C driver

PATCH In review Lukas Bulwahn 2 participants 2 messages Aug 17, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: remove dead PMC MSP TWI/SMBus/I2C driver

Commit 1b00767fd8e1 ("MIPS: Remove PMC MSP71xx platform") removes the config PMC_MSP in ./arch/mips/Kconfig.

Hence, since then, the corresponding PMC MSP TWI/SMBus/I2C driver is dead code. Remove this dead driver.

---
Wolfram, please pick this minor non-urgent clean-up patch.

 drivers/i2c/busses/Kconfig      |   9 -
 drivers/i2c/busses/Makefile     |   1 -
 drivers/i2c/busses/i2c-pmcmsp.c | 600 --------------------------------
 3 files changed, 610 deletions(-)
 delete mode 100644 drivers/i2c/busses/i2c-pmcmsp.c
drivers/i2c/busses/Kconfig +0 -9
index 10acece9d7b9..23b2eca45bce 100644
@@ -866,15 +866,6 @@ config I2C_PCA_PLATFORM
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-pca-platform.
 
-config I2C_PMCMSP
-	tristate "PMC MSP I2C TWI Controller"
-	depends on PMC_MSP || COMPILE_TEST
-	help
-	  This driver supports the PMC TWI controller on MSP devices.
-
-	  This driver can also be built as module. If so, the module
-	  will be called i2c-pmcmsp.
-
 config I2C_PNX
 	tristate "I2C bus support for Philips PNX and NXP LPC targets"
 	depends on ARCH_LPC32XX || COMPILE_TEST
drivers/i2c/busses/Makefile +0 -1
index 69e9963615f6..afdb84902dd2 100644
@@ -86,7 +86,6 @@ obj-$(CONFIG_I2C_OMAP)		+= i2c-omap.o
 obj-$(CONFIG_I2C_OWL)		+= i2c-owl.o
 obj-$(CONFIG_I2C_PASEMI)	+= i2c-pasemi.o
 obj-$(CONFIG_I2C_PCA_PLATFORM)	+= i2c-pca-platform.o
-obj-$(CONFIG_I2C_PMCMSP)	+= i2c-pmcmsp.o
 obj-$(CONFIG_I2C_PNX)		+= i2c-pnx.o
 obj-$(CONFIG_I2C_PXA)		+= i2c-pxa.o
 obj-$(CONFIG_I2C_PXA_PCI)	+= i2c-pxa-pci.o
drivers/i2c/busses/i2c-pmcmsp.c deleted +0 -600

600 lines not on this page · raw message

Signature · 1 line
2.26.2
#1 lore raw
Quoted 9 lines · Lukas Bulwahn

Commit 1b00767fd8e1 ("MIPS: Remove PMC MSP71xx platform") removes the config PMC_MSP in ./arch/mips/Kconfig.

Hence, since then, the corresponding PMC MSP TWI/SMBus/I2C driver is dead code. Remove this dead driver.

---
Wolfram, please pick this minor non-urgent clean-up patch.

With pleasure! Applied to for-next, thanks Lukas!