diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-09-20 00:52:54 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | 2b44af3ad6cc5e39267791215cfef974fb3f7be5 (patch) | |
tree | 0e352815d44f55e230484872bf63ad4a5e602b4d /drivers/base/node.c | |
parent | e5cd979994db7ab0d496fd9ccdf4744da5e2764b (diff) |
mtd: rawnand: ams-delta: Use private structure
Introduce a driver private structure and allocate it on device probe.
Use it for storing nand_chip structure, GPIO descriptors prevoiusly
stored in static variables as well as io_base pointer previously passed
as nand controller data or platform driver data. Subsequent patches
may populate the structure with more members as needed.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions