diff options
author | Janusz Krzysztofik <[email protected]> | 2018-09-20 00:52:54 +0200 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2018-10-03 11:12:25 +0200 |
commit | 2b44af3ad6cc5e39267791215cfef974fb3f7be5 (patch) | |
tree | 0e352815d44f55e230484872bf63ad4a5e602b4d /lib/memory-notifier-error-inject.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 <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions