[PATCH] mtd: nand: fsmc: remove stale non-DT probe path

Stefan Roese sr at denx.de
Sun Dec 18 22:15:15 PST 2016


On 18.12.2016 12:34, Linus Walleij wrote:
> 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 at linaro.org>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Vipin Kumar <vipin.kumar at st.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan



More information about the linux-mtd mailing list