]> 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)
commitcfe0b5658a19c717f54b255cefdca39f0bbfcfca
treea25c252db8075b5695c078b7a2390c60b775e0b3
parent25a8b9c376f26ecead8442cdfdcb6b2dd0f412c9
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