]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: fsmc: remove ->select_bank() from fsmc_nand_platform_data
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Mar 2017 10:03:57 +0000 (11:03 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 23 Mar 2017 10:10:40 +0000 (11:10 +0100)
commit9110d203d1e841bdfb2a99366b08b46b6ae19ab7
tree9dfa8e8dfc4eea03507962af8c5ca11b6f8dc592
parenta7eec85959e489fa170011b026ecd6fea7239597
mtd: nand: fsmc: remove ->select_bank() from fsmc_nand_platform_data

Since commit 0a1b2968695f ("mtd: nand: fsmc: remove stale non-DT probe
path"), only DT probing is used for the fsmc_nand driver. Due to this,
the ->select_bank() field of fsmc_nand_platform_data is never used, so
this commit gets rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/fsmc_nand.c