]> 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)
commit2f4325e481382232211d46c0afe281b8cfe5ef9b
tree4ac19b5d7e9ac8f2b68cf1e0cd424d274d37483c
parent11943453504976dff3a499a643de31fa1db3b44b
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]