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


Groups > linux.kernel > #1526575

Re: [PATCH] mtd: nand: tango: Use nand_to_mtd() instead of directly accessing chip->mtd

From Boris Brezillon <boris.brezillon@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mtd: nand: tango: Use nand_to_mtd() instead of directly accessing chip->mtd
Date 2016-11-21 12:10 +0100
Message-ID <sFUE1-pB-13@gated-at.bofh.it> (permalink)
References <sFSLU-7Fl-37@gated-at.bofh.it> <sFTHY-8fb-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 21 Nov 2016 10:59:21 +0100
Marc Gonzalez <marc_gonzalez@sigmadesigns.com> wrote:

> On 21/11/2016 10:03, Boris Brezillon wrote:
> 
> > The nand_to_mtd() helper is here to hide internal mtd_info <-> nand_chip
> > association and ease future refactors.
> > 
> > Make use of this helper instead of directly accessing chip->mtd.
> > 
> > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> > ---
> >  drivers/mtd/nand/tango_nand.c | 25 ++++++++++++++++---------
> >  1 file changed, 16 insertions(+), 9 deletions(-)  
> 
> Acked-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>

Applied.

Thanks,

Boris

> 
> Regards.
> 

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


Thread

[PATCH] mtd: nand: tango: Use nand_to_mtd() instead of directly accessing chip->mtd Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-11-21 10:10 +0100
  Re: [PATCH] mtd: nand: tango: Use nand_to_mtd() instead of directly  accessing chip->mtd Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-21 11:10 +0100
    Re: [PATCH] mtd: nand: tango: Use nand_to_mtd() instead of directly  accessing chip->mtd Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-11-21 12:10 +0100

csiph-web