]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: jz4780_nand: remove useless mtd->priv = chip assignment
authorBrian Norris <computersforpeace@gmail.com>
Thu, 7 Jan 2016 18:02:59 +0000 (10:02 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Jan 2016 20:25:39 +0000 (12:25 -0800)
commitf118902490aa1c3a361e485dd38a7b28cd130d71
tree56c0a3a2cf65b90ed3d0ed0a5231f9867e98c310
parentf07dcb90e4a9ccab9663a50847f255c9b0e2ada1
mtd: jz4780_nand: remove useless mtd->priv = chip assignment

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@gmail.com>
Cc: Harvey Hunt <harvey.hunt@imgtec.com>
Cc: Alex Smith <alex@alex-smith.me.uk>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/jz4780_nand.c