summaryrefslogtreecommitdiffstats
path: root/include/linux/spi/eeprom.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-02-26 20:59:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-01 16:55:48 -0800
commit57d155506dd5e8f8242d0310d3822c486f70dea7 (patch)
tree6f9d85a6d74f16c6f4dcc7ff07df85d312e9ed40 /include/linux/spi/eeprom.h
parentb6c217ab9be6895384cf0b284ace84ad79e5c53b (diff)
downloadop-kernel-dev-57d155506dd5e8f8242d0310d3822c486f70dea7.zip
op-kernel-dev-57d155506dd5e8f8242d0310d3822c486f70dea7.tar.gz
eeprom: at24: extend driver to plug into the NVMEM framework
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@lunn.ch> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/spi/eeprom.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud