Re: [RFC PATCH 1/8] mtd: rawnand: ams-delta: Use private structure

2018-07-20 Thread Janusz Krzysztofik
On Thursday, July 19, 2018 8:17:28 AM CEST Boris Brezillon wrote: > On Thu, 19 Jul 2018 01:57:03 +0200 > Janusz Krzysztofik wrote: > > > Introduce a driver private structure and allocate it on device probe. > > Use it for storing nand_chip structure, GPIO descriptors prevoiusly > > stored in stat

Re: [RFC PATCH 1/8] mtd: rawnand: ams-delta: Use private structure

2018-07-18 Thread Boris Brezillon
On Thu, 19 Jul 2018 01:57:03 +0200 Janusz Krzysztofik wrote: > 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

[RFC PATCH 1/8] mtd: rawnand: ams-delta: Use private structure

2018-07-18 Thread Janusz Krzysztofik
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 str