]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: Pass a nand_chip object to chip->{get, set}_features()
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 6 Sep 2018 12:05:31 +0000 (14:05 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 3 Oct 2018 09:12:25 +0000 (11:12 +0200)
commitd26609ad03d3e30a2b2f44a421bdb87246d1a6d8
treea25c252db8075b5695c078b7a2390c60b775e0b3
parent22ec21cae490f042f9e15fb484986025cd5ab2e1
mtd: rawnand: Pass a nand_chip object to chip->{get, set}_features()

Let's make the raw NAND API consistent by patching all helpers and
hooks to take a nand_chip object instead of an mtd_info one or
remove the mtd_info object when both are passed.

Let's tackle the chip->{get,set}_features() hooks.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/mxc_nand.c
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h