]> git.baikalelectronics.ru Git - kernel.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)
commit07d8e05ee7ce5fa47ec583b22f435ca6763c9ecb
tree56c0a3a2cf65b90ed3d0ed0a5231f9867e98c310
parent5373e1fea1c20cfe9f99213ff826fdc84ee19213
mtd: jz4780_nand: remove useless mtd->priv = chip assignment

As of commit 3c28371490dd ("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