mtd: nand: fsmc: remove stale non-DT probe path
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Dec 2016 11:34:55 +0000 (12:34 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 30 Jan 2017 10:50:30 +0000 (11:50 +0100)
commit4404d7d821c33ac8105f1d52deb60f736d7c6a06
tree4ac19b5d7e9ac8f2b68cf1e0cd424d274d37483c
parent4339b7fdbb90ab579862b0fcde6ee0f342f12692
mtd: nand: fsmc: remove stale non-DT probe path

The FSMC driver has an execution path and a header file in
<linux/mtd/fsmc.h> that serves to support passing in platform
data through board files, albeit no upstream users of this
mechanism exist.

The header file also contains function headers for functions that
do not exist in the kernel.

Delete this and move the platform data struct, parsing and
handling into the driver, assume we are using OF and make the
driver depend on OF, remove the ifdefs making that optional.

Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Stefan Roese <sr@denx.de>
Cc: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/fsmc_nand.c
include/linux/mtd/fsmc.h [deleted file]