Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

eeprom: Deprecate the legacy eeprom driver

Time has come to get rid of the old eeprom driver. The at24 driver
should be used instead. So mark the eeprom driver as deprecated and
give users some time to migrate. Then we can remove the legacy
eeprom driver completely.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190902104838.058725c2@endymion
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jean Delvare and committed by
Greg Kroah-Hartman
c165d894 b8bf2681

+4 -1
+4 -1
drivers/misc/eeprom/Kconfig
··· 45 45 will be called at25. 46 46 47 47 config EEPROM_LEGACY 48 - tristate "Old I2C EEPROM reader" 48 + tristate "Old I2C EEPROM reader (DEPRECATED)" 49 49 depends on I2C && SYSFS 50 50 help 51 51 If you say yes here you get read-only access to the EEPROM data 52 52 available on modern memory DIMMs and Sony Vaio laptops via I2C. Such 53 53 EEPROMs could theoretically be available on other devices as well. 54 + 55 + This driver is deprecated and will be removed soon, please use the 56 + better at24 driver instead. 54 57 55 58 This driver can also be built as a module. If so, the module 56 59 will be called eeprom.