]> 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)
commitc1f91e616494c48aafdbd8c14442a6de8b99d3d6
tree2b7eb91ed47cacf2ea0448b97ce2bd0b3e3d7a03
parent6969932b2ba2d98eb39e31a22f9300d08d079055
mtd: nand: fsmc: remove CONFIG_OF conditional

Since commit 2f4325e481382 ("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