Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1345386

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

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCHv7 7/7] misc: at24: replace memory_accessor with nvmem_device_read
Date 2016-02-28 22:10 +0100
Message-ID <r7gLg-8s0-17@gated-at.bofh.it> (permalink)
References <r6wIp-8ao-1@gated-at.bofh.it> <r6wS6-8v1-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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>

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCHv7 0/7] Convert exiting EEPROM drivers to NVMEM Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:00 +0100
  [PATCHv7 3/7] eeprom: at24: extend driver to plug into the NVMEM framework Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:00 +0100
    Re: [PATCHv7 3/7] eeprom: at24: extend driver to plug into the NVMEM  framework Vladimir Zapolskiy <vz@mleia.com> - 2016-03-02 22:50 +0100
      Re: [PATCHv7 3/7] eeprom: at24: extend driver to plug into the NVMEM  framework Andrew Lunn <andrew@lunn.ch> - 2016-03-02 22:50 +0100
        Re: [PATCHv7 3/7] eeprom: at24: extend driver to plug into the NVMEM  framework Vladimir Zapolskiy <vz@mleia.com> - 2016-03-03 00:10 +0100
  [PATCHv7 5/7] eeprom: at25: extend driver to plug into the NVMEM framework Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:10 +0100
    Re: [PATCHv7 5/7] eeprom: at25: extend driver to plug into the NVMEM  framework Vladimir Zapolskiy <vz@mleia.com> - 2016-03-02 23:00 +0100
  [PATCHv7 4/7] eeprom: at25: Remove in kernel API for accessing the EEPROM Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:10 +0100
    Re: [PATCHv7 4/7] eeprom: at25: Remove in kernel API for accessing  the EEPROM Wolfram Sang <wsa@the-dreams.de> - 2016-02-28 22:10 +0100
  [PATCHv7 6/7] eeprom: 93xx46: extend driver to plug into the NVMEM framework Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:10 +0100
    Re: [PATCHv7 6/7] eeprom: 93xx46: extend driver to plug into the  NVMEM framework Vladimir Zapolskiy <vz@mleia.com> - 2016-03-02 23:10 +0100
      Re: [PATCHv7 6/7] eeprom: 93xx46: extend driver to plug into the  NVMEM framework Andrew Lunn <andrew@lunn.ch> - 2016-03-02 23:30 +0100
        Re: [PATCHv7 6/7] eeprom: 93xx46: extend driver to plug into the  NVMEM framework Vladimir Zapolskiy <vz@mleia.com> - 2016-03-03 00:20 +0100
  [PATCHv7 7/7] misc: at24: replace memory_accessor with nvmem_device_read Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:10 +0100
    Re: [PATCHv7 7/7] misc: at24: replace memory_accessor with  nvmem_device_read Wolfram Sang <wsa@the-dreams.de> - 2016-02-28 22:10 +0100
  [PATCHv7 1/7] nvmem: Add flag to export NVMEM to root only Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:10 +0100
  [PATCHv7 2/7] nvmem: Add backwards compatibility support for older EEPROM drivers. Andrew Lunn <andrew@lunn.ch> - 2016-02-26 21:10 +0100
  Re: [PATCHv7 0/7] Convert exiting EEPROM drivers to NVMEM Greg KH <gregkh@linuxfoundation.org> - 2016-03-02 02:00 +0100

csiph-web