summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2018-09-20 00:52:54 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-10-03 11:12:25 +0200
commit2b44af3ad6cc5e39267791215cfef974fb3f7be5 (patch)
tree0e352815d44f55e230484872bf63ad4a5e602b4d /lib
parente5cd979994db7ab0d496fd9ccdf4744da5e2764b (diff)
downloadlinux-2b44af3ad6cc5e39267791215cfef974fb3f7be5.tar.gz
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 'lib')
0 files changed, 0 insertions, 0 deletions