mtd: nand: kill member `ops' of `struct nand_chip'
authorBrian Norris <computersforpeace@gmail.com>
Wed, 31 Aug 2011 01:45:45 +0000 (18:45 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:57:44 +0000 (15:57 +0300)
commit4a89ff885ff9f64ea62669100766e10e4e257c6e
tree66d7251fbfcc208e883271e7defd215b71d69af7
parent4180f24a7bff3aa7978e3785d0edd5dcc4af9049
mtd: nand: kill member `ops' of `struct nand_chip'

The nand_chip.ops field is a struct that is passed around globally with
no particular reason. Every time it is used, it could just as easily be
replaced with a local struct that is updated on each operation. So make
it local.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h