[PATCH] mtd: jz4780_nand: remove useless mtd->priv = chip assignment

Brian Norris computersforpeace at gmail.com
Thu Jan 7 12:27:03 PST 2016


On Thu, Jan 07, 2016 at 08:32:47PM +0100, Boris Brezillon wrote:
> On Thu,  7 Jan 2016 10:02:59 -0800
> Brian Norris <computersforpeace at gmail.com> wrote:
> 
> > As of commit 2d3b77bac34b ("mtd: nand: update mtd_to_nand()"), this
> > assignment isn't necessary, since struct mtd_info is embedded in struct
> > nand_chip.
> > 
> > Signed-off-by: Brian Norris <computersforpeace at gmail.com>
> > Cc: Harvey Hunt <harvey.hunt at imgtec.com>
> > Cc: Boris Brezillon <boris.brezillon at free-electrons.com>
> > Cc: Alex Smith <alex at alex-smith.me.uk>
> 
> Reviewed-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Thanks! Applied to l2-mtd.git



More information about the linux-mtd mailing list