Skip to content

Commit

Permalink
eeprom: Deprecate the legacy eeprom driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Sep 4, 2019
1 parent b8bf268 commit c165d89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/misc/eeprom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@ config EEPROM_AT25
will be called at25.

config EEPROM_LEGACY
tristate "Old I2C EEPROM reader"
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.

Expand Down

0 comments on commit c165d89

Please sign in to comment.