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

From: Wolfram Sang
Date: Sun Feb 28 2016 - 16:01:49 EST


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@xxxxxxx>
> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
> Tested-by: Sekhar Nori <nsekhar@xxxxxx>
> ---
> 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@xxxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature