mtd: nand: jz4740: Let the pinctrl driver configure the pins
authorPaul Cercueil <paul@crapouillou.net>
Fri, 12 May 2017 16:53:04 +0000 (18:53 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 May 2017 15:22:42 +0000 (17:22 +0200)
commitcf2fd519e6ec1fc5eb0fc15d2544fb26c4fd8e11
treeba1fc23113d5a702b5c2a854cbe74ff00850d699
parent695ff98577aa629fecba28769c628c883681d051
mtd: nand: jz4740: Let the pinctrl driver configure the pins

Before, this NAND driver would set itself the configuration of the
chip-select pins for the various NAND banks.

Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on
the pins being properly configured before the driver probes.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mtd/nand/jz4740_nand.c