Re: [PATCH v4 1/9] mtd: rawnand: denali: use nand_chip pointer more for internal functions

2019-04-01 Thread Masahiro Yamada
On Tue, Apr 2, 2019 at 2:14 AM Miquel Raynal wrote: > > Hi Masahiro, > > Boris Brezillon wrote on Sat, 30 Mar > 2019 15:23:23 +0100: > > > On Fri, 29 Mar 2019 16:28:13 +0900 > > Masahiro Yamada wrote: > > > > > With the recent refactoring, the NAND driver hooks now take a pointer > > > to

Re: [PATCH v4 1/9] mtd: rawnand: denali: use nand_chip pointer more for internal functions

2019-04-01 Thread Miquel Raynal
Hi Masahiro, Boris Brezillon wrote on Sat, 30 Mar 2019 15:23:23 +0100: > On Fri, 29 Mar 2019 16:28:13 +0900 > Masahiro Yamada wrote: > > > With the recent refactoring, the NAND driver hooks now take a pointer > > to nand_chip. Add to_denali() in order to convert (struct nand_chip *) > > to

Re: [PATCH v4 1/9] mtd: rawnand: denali: use nand_chip pointer more for internal functions

2019-03-30 Thread Boris Brezillon
On Fri, 29 Mar 2019 16:28:13 +0900 Masahiro Yamada wrote: > With the recent refactoring, the NAND driver hooks now take a pointer > to nand_chip. Add to_denali() in order to convert (struct nand_chip *) > to (struct denali_nand_info *) directly. It is more useful than the > current

[PATCH v4 1/9] mtd: rawnand: denali: use nand_chip pointer more for internal functions

2019-03-29 Thread Masahiro Yamada
With the recent refactoring, the NAND driver hooks now take a pointer to nand_chip. Add to_denali() in order to convert (struct nand_chip *) to (struct denali_nand_info *) directly. It is more useful than the current mtd_to_denali(). I changed some helper functions to take (struct nand_chip *).