[PATCH v3 0/2] mtd: spi-nor: Cleanup patches

From: Tudor Ambarus
Date: Mon Mar 22 2021 - 03:53:31 EST


Various cleanup patches done while reviewing contributions.

Tudor Ambarus (2):
mtd: spi-nor: Move Software Write Protection logic out of the core
mtd: spi-nor: swp: Improve code around spi_nor_check_lock_status_sr()

drivers/mtd/spi-nor/Makefile | 2 +-
drivers/mtd/spi-nor/core.c | 406 +--------------------------------
drivers/mtd/spi-nor/core.h | 4 +
drivers/mtd/spi-nor/swp.c | 427 +++++++++++++++++++++++++++++++++++
4 files changed, 435 insertions(+), 404 deletions(-)
create mode 100644 drivers/mtd/spi-nor/swp.c

--
2.25.1