nvmem: Add backwards compatibility support for older EEPROM drivers.
commitb6c217ab9be6895384cf0b284ace84ad79e5c53b
authorAndrew Lunn <andrew@lunn.ch>
Fri, 26 Feb 2016 19:59:19 +0000 (26 20:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 00:55:48 +0000 (1 16:55 -0800)
tree5e41a05bde354301b9b8ebe9ed6d56e57c53f4eb
parent811b0d6538b9f26f3eb0f90fe4e6118f2480ec6f
nvmem: Add backwards compatibility support for older EEPROM drivers.

Older drivers made an 'eeprom' file available in the /sys device
directory. Have the NVMEM core provide this to retain backwards
compatibility.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c
include/linux/nvmem-provider.h