Re: [PATCHv4 3/7] eeprom: at24: extend driver to plug into the NVMEM framework

From: Srinivas Kandagatla
Date: Wed Feb 17 2016 - 06:00:29 EST




On 16/02/16 23:41, Andrew Lunn wrote:
Add a regmap for accessing the EEPROM, and then use that with the
NVMEM framework. Set the NVMEM config structure to enable backward, so
that the 'eeprom' file in sys is provided by the framework.

Signed-off-by: Andrew Lunn<andrew@xxxxxxx>
---
drivers/misc/eeprom/Kconfig | 2 +
drivers/misc/eeprom/at24.c | 121 +++++++++++++++++++++++++++++---------------
2 files changed, 82 insertions(+), 41 deletions(-)

Acked-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>