Re: [PATCH v3 04/32] mtd: spi-nor: Stop compare with negative in Reg Ops methods

From: Boris Brezillon
Date: Thu Oct 31 2019 - 06:36:07 EST


On Tue, 29 Oct 2019 11:16:54 +0000
<Tudor.Ambarus@xxxxxxxxxxxxx> wrote:

> From: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>
>
> spi_mem_exec_op()
> nor->controller_ops->write_reg()
> nor->controller_ops->read_reg()
> spi_nor_wait_till_ready()
> Return 0 on success, -errno otherwise.
>
> Stop compare with negative and compare with zero in all the register
> operations methods.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>

Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>