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<[email protected]>
---
  drivers/misc/eeprom/Kconfig |   2 +
  drivers/misc/eeprom/at24.c  | 121 +++++++++++++++++++++++++++++---------------
  2 files changed, 82 insertions(+), 41 deletions(-)

Acked-by: Srinivas Kandagatla <[email protected]>

Reply via email to