eeprom: 93xx46: extend driver to plug into the NVMEM framework
authorAndrew Lunn <andrew@lunn.ch>
Fri, 26 Feb 2016 19:59:23 +0000 (20:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 00:55:48 +0000 (16:55 -0800)
commit1c4b6e2c7534b9b193f440f77dd47e420a150288
tree01c07e1ac4555bbf3f4050451ec3366aba331eff
parent5a99f570dab9f626d3b0b87a4ddf5de8c648aae8
eeprom: 93xx46: extend driver to plug into the NVMEM framework

Add a regmap for accessing the EEPROM, and then use that with the
NVMEM framework. Enable backward compatibility in the NVMEM config
structure, so that the 'eeprom' file in sys is provided by the
framework.

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/misc/eeprom/Kconfig
drivers/misc/eeprom/eeprom_93xx46.c