mtd: rawnand: ams-delta: Handle more GPIO pins as optional
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Wed, 12 Feb 2020 00:39:24 +0000 (01:39 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 9 Mar 2020 13:51:02 +0000 (14:51 +0100)
commitea5ea9fa6db23ff5b194e84fad32e3bae5c7f357
tree2de47149437c50c0d043f1bdc57cdb15d98c6f7e
parent586a746b326c35d2c0b2773dba61ffa1d4818711
mtd: rawnand: ams-delta: Handle more GPIO pins as optional

In order to make the driver more useful on platforms other than Amstrad
Delta, allow GPIO descriptor pointers of possibly non-critical NWP and
NCE pins to be initialised as NULL.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200212003929.6682-10-jmkrzyszt@gmail.com
drivers/mtd/nand/raw/ams-delta.c