]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a1b2968695fe12a65126efd63ad8ab957361708
tree4ac19b5d7e9ac8f2b68cf1e0cd424d274d37483c
parent1bae82141379f5e20ad4b17aa20b1e160058aa86
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]