eeprom: Remove deprecated legacy eeprom driver
PATCH 1/1 eeprom: Remove deprecated legacy eeprom driver
Driver was marked deprecated 4 years ago, so it's time to remove it. This driver is the only i2c client driver using class I2C_CLASS_SPD. Apparently, as a follow-up step, we can remove I2C_CLASS_SPD altogether.
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/misc/eeprom/Kconfig | 14 --- drivers/misc/eeprom/Makefile | 1 - drivers/misc/eeprom/eeprom.c | 214 ----------------------------------- 3 files changed, 229 deletions(-) delete mode 100644 drivers/misc/eeprom/eeprom.c
drivers/misc/eeprom/Kconfig +0 -14
@@ -46,20 +46,6 @@ config EEPROM_AT25 This driver can also be built as a module. If so, the module will be called at25. -config EEPROM_LEGACY - tristate "Old I2C EEPROM reader (DEPRECATED)" - depends on I2C && SYSFS - help - If you say yes here you get read-only access to the EEPROM data - available on modern memory DIMMs and Sony Vaio laptops via I2C. Such - EEPROMs could theoretically be available on other devices as well. - - This driver is deprecated and will be removed soon, please use the - better at24 driver instead. - - This driver can also be built as a module. If so, the module - will be called eeprom. - config EEPROM_MAX6875 tristate "Maxim MAX6874/5 power supply supervisor" depends on I2C
drivers/misc/eeprom/Makefile +0 -1
@@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_EEPROM_AT24) += at24.o obj-$(CONFIG_EEPROM_AT25) += at25.o -obj-$(CONFIG_EEPROM_LEGACY) += eeprom.o obj-$(CONFIG_EEPROM_MAX6875) += max6875.o obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o obj-$(CONFIG_EEPROM_93XX46) += eeprom_93xx46.o
drivers/misc/eeprom/eeprom.c deleted +0 -214
214 lines not on this page · raw message
Signature · 1 line
2.42.0
Quoted 5 lines · Heiner Kallweit
Driver was marked deprecated 4 years ago, so it's time to remove it. This driver is the only i2c client driver using class
I2C_CLASS_SPD. Apparently, as a follow-up step, we can removeI2C_CLASS_SPDaltogether.
Quoted 8 lines
Signed-off-by Heiner Kallweit <[email protected]>--- drivers/misc/eeprom/Kconfig | 14 --- drivers/misc/eeprom/Makefile | 1 - drivers/misc/eeprom/eeprom.c | 214 ----------------------------------- 3 files changed, 229 deletions(-) delete mode 100644 drivers/misc/eeprom/eeprom.c(...)
Reviewed-by Jean Delvare <[email protected]>
Thanks,
Signature · 2 lines
Jean Delvare SUSE L3 Support