]> git.karo-electronics.de Git - karo-tx-linux.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)
commit6324fb93a2594fa7e748ec45751033eee1fd7fee
tree9dfa8e8dfc4eea03507962af8c5ca11b6f8dc592
parente7cda017f66e869738b1aba7e0cfe5ead000f155
mtd: nand: fsmc: remove ->select_bank() from fsmc_nand_platform_data

Since commit 4404d7d821c3 ("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