Re: [PATCH v3 2/2] mtd: spi-nor: swp: Improve code around spi_nor_check_lock_status_sr()

From: Michael Walle
Date: Mon Mar 22 2021 - 04:57:52 EST


Am 2021-03-22 08:51, schrieb Tudor Ambarus:
- bool return value for spi_nor_check_lock_status_sr(), gets rid of
the return 1,
- introduce temporary variables for better readability.

Suggested-by: Joe Perches <joe@xxxxxxxxxxx>
Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>
---

Reviewed-by: Michael Walle <michael@xxxxxxxx>

-michael