]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: Move all page cache related fields to a sub-struct
authorBoris Brezillon <bbrezillon@kernel.org>
Sun, 28 Oct 2018 15:12:45 +0000 (16:12 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 08:21:13 +0000 (10:21 +0200)
commit5acf966ecb27d54591b86ab09c0f46365cbc7c0d
tree3f21bd55ecf2e3513c7fff8f061d4bd36bde80f9
parent33002ce36cffa8c97199fd6b997eed07facad156
mtd: rawnand: Move all page cache related fields to a sub-struct

Looking at the field names it's hard to tell what ->data_buf, ->pagebuf
and ->pagebuf_bitflips are for. Clarify that by moving those fields
in a sub-struct named pagecache.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h