mtd: rawnand: ams-delta: Support custom driver initialisation
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Wed, 12 Feb 2020 00:39:26 +0000 (01:39 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 11 Mar 2020 15:17:53 +0000 (16:17 +0100)
commitd1b1a8f73a21c7807b23144f41174b71a5a60a40
treed341c5c4c08d17430d8c780b4dd5722452edc690
parent7c2f66a960fccc165d0b6c594f40f0ad3edfc61f
mtd: rawnand: ams-delta: Support custom driver initialisation

In preparation for extending the driver with custom I/O support, try to
obtain device specific initialisation routine from a matching device
table entry and run it as an additional step of device probe.

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-12-jmkrzyszt@gmail.com
drivers/mtd/nand/raw/ams-delta.c