mbox series

[0/2] mtd: rawnand: Make ->dev_ready() and ->chip_delay optional

Message ID 20180727074418.32384-1-boris.brezillon@bootlin.com
Headers show
Series mtd: rawnand: Make ->dev_ready() and ->chip_delay optional | expand

Message

Boris Brezillon July 27, 2018, 7:44 a.m. UTC
Hello,

These 2 patches remove the last dependency we had on ->dev_ready() and
->chip_delay when ->exec_op() is defined. Will be needed to deprecate
both fields, which is about to happen (see this branch [1] if you want
to have the big picture).

Regards,

Boris

[1]https://github.com/bbrezillon/linux-0day/commits/nand/api-cleanup

Boris Brezillon (2):
  mtd: rawnand: Add the nand_wait_readrdy() helper and use it
  mtd: rawnand: Add the nand_wait_rdy_op() helper and use it

 drivers/mtd/nand/raw/nand_base.c | 49 ++++++++++++++++++++++++++++------------
 1 file changed, 35 insertions(+), 14 deletions(-)

Comments

Miquel Raynal Sept. 4, 2018, 9:47 p.m. UTC | #1
Hi Boris,

Boris Brezillon <boris.brezillon@bootlin.com> wrote on Fri, 27 Jul 2018
09:44:16 +0200:

> Hello,
> 
> These 2 patches remove the last dependency we had on ->dev_ready() and
> ->chip_delay when ->exec_op() is defined. Will be needed to deprecate  
> both fields, which is about to happen (see this branch [1] if you want
> to have the big picture).
> 
> Regards,
> 
> Boris
> 
> [1]https://github.com/bbrezillon/linux-0day/commits/nand/api-cleanup
> 
> Boris Brezillon (2):
>   mtd: rawnand: Add the nand_wait_readrdy() helper and use it
>   mtd: rawnand: Add the nand_wait_rdy_op() helper and use it
> 
>  drivers/mtd/nand/raw/nand_base.c | 49 ++++++++++++++++++++++++++++------------
>  1 file changed, 35 insertions(+), 14 deletions(-)
> 

Applied to nand/next.
Thanks