Skip to contentSkip to conversation

eeprom: Remove deprecated legacy eeprom driver

PATCH In review Heiner Kallweit 2 participants 2 messages Sep 24, 2023 – Oct 3, 2023 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 2d240bfa8..4e61ac18c 100644
@@ -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
index a9b4b6579..65794e526 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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 remove I2C_CLASS_SPD altogether.

Quoted 8 lines
---
 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

(...)

Thanks,

Signature · 2 lines
Jean Delvare
SUSE L3 Support