misc: at24: replace memory_accessor with nvmem_device_read
authorAndrew Lunn <andrew@lunn.ch>
Fri, 26 Feb 2016 19:59:24 +0000 (20:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 00:55:48 +0000 (16:55 -0800)
commitbec3c11bad0e7ac05fb90f204d0ab6f79945822b
tree3d993a264e1a6067bc6aa5a3316e580b356de0c2
parent1c4b6e2c7534b9b193f440f77dd47e420a150288
misc: at24: replace memory_accessor with nvmem_device_read

Now that the AT24 uses the NVMEM framework, replace the
memory_accessor in the setup() callback with nvmem API calls.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-davinci/board-mityomapl138.c
arch/arm/mach-davinci/common.c
drivers/misc/eeprom/at24.c
include/linux/davinci_emac.h
include/linux/memory.h
include/linux/platform_data/at24.h