[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5832C579.10101@sigmadesigns.com>
Date: Mon, 21 Nov 2016 10:59:21 +0100
From: Marc Gonzalez <marc_gonzalez@...madesigns.com>
To: Boris Brezillon <boris.brezillon@...e-electrons.com>,
Richard Weinberger <richard@....at>,
<linux-mtd@...ts.infradead.org>
CC: David Woodhouse <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
"Cyrille Pitchen" <cyrille.pitchen@...el.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mtd: nand: tango: Use nand_to_mtd() instead of directly
accessing chip->mtd
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@...e-electrons.com>
> ---
> drivers/mtd/nand/tango_nand.c | 25 ++++++++++++++++---------
> 1 file changed, 16 insertions(+), 9 deletions(-)
Acked-by: Marc Gonzalez <marc_gonzalez@...madesigns.com>
Regards.
Powered by blists - more mailing lists