Re: [PATCHv7 7/7] misc: at24: replace memory_accessor with nvmem_device_read

Wolfram Sang
2016-02-28T21:01:35Z

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

On Fri, Feb 26, 2016 at 08:59:24PM +0100, Andrew Lunn wrote:
> Now that the AT24 uses the NVMEM framework, replace the
> memory_accessor in the setup() callback with nvmem API calls.

Yay, thanks for doing this! :)

>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> Tested-by: Sekhar Nori <nsekhar@ti.com>
> ---
> arch/arm/mach-davinci/board-mityomapl138.c | 5 +++--
> arch/arm/mach-davinci/common.c | 4 ++--
> drivers/misc/eeprom/at24.c | 31 +-----------------------------
> include/linux/davinci_emac.h | 4 ++--
> include/linux/memory.h | 11 -----------
> include/linux/platform_data/at24.h | 10 +++++-----
> 6 files changed, 13 insertions(+), 52 deletions(-)

It could be argued to split this patch up, but since I'd like to have
the memory_accessor thing removed rather sooner than later, I'd be fine
with this all-in-one approach. So, for the at24 parts:

Acked-by: Wolfram Sang <wsa@the-dreams.de>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]