]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: fsmc: remove CONFIG_OF conditional
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Mar 2017 10:04:05 +0000 (11:04 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 23 Mar 2017 10:11:44 +0000 (11:11 +0100)
commit1a306b4d1daa8b6f56e591958402ac62e8703400
tree2b7eb91ed47cacf2ea0448b97ce2bd0b3e3d7a03
parent3d34aeef8909f4a9882ade9059e90de98c1f21b7
mtd: nand: fsmc: remove CONFIG_OF conditional

Since commit 0a1b2968695fe ("mtd: nand: fsmc: remove stale non-DT probe
path"), the fsmc NAND driver only supports Device Tree probing, and
therefore has a "depends on OF" in its Kconfig option.

Due to this the #ifdef CONFIG_OF ... #endif condition in the driver code
is no longer necessary.

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