]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mtd: rawnand: Add nand_[de]select_target() helpers
authorBoris Brezillon <boris.brezillon@bootlin.com>
Sun, 11 Nov 2018 07:55:14 +0000 (08:55 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 7 Dec 2018 09:38:25 +0000 (10:38 +0100)
commit1d0178593d148e88d2ac1e3f09c7f7eb1c20796b
tree3641e524794be791bca768aadf5b53513adee8f2
parent9fd6bcffe741cfd237bb4a310e8cc82457a6c541
mtd: rawnand: Add nand_[de]select_target() helpers

Add a wrapper to prevent drivers and core code from directly calling
the ->select_chip hook which we are about to deprecate.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/raw/jz4740_nand.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/r852.c
include/linux/mtd/rawnand.h