[PATCH 10/12] mtd: nand: kill member `ops' of `struct nand_chip'

Artem Bityutskiy dedekind1 at gmail.com
Sun Sep 11 08:35:24 EDT 2011


On Tue, 2011-08-30 at 18:45 -0700, Brian Norris wrote:
> 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 at gmail.com>

Looks like a good clean-up, thanks, pushed to my tree.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list