Various cleanup patches done while reviewing contributions. Tudor Ambarus (5): mtd: spi-nor: core: Advance erase after the erase cmd has been completed mtd: spi-nor: core: Add vdbg msg for spi_nor_erase_multi_sectors() mtd: spi-nor: Get rid of duplicated argument in spi_nor_parse_sfdp() mtd: spi-nor: Move Software Write Protection logic out of the core mtd: spi-nor: swp: Drop 'else' after 'return'
drivers/mtd/spi-nor/Makefile | 2 +- drivers/mtd/spi-nor/core.c | 432 ++------------------------------- drivers/mtd/spi-nor/core.h | 10 +- drivers/mtd/spi-nor/issi.c | 3 +- drivers/mtd/spi-nor/macronix.c | 3 +- drivers/mtd/spi-nor/sfdp.c | 72 +++--- drivers/mtd/spi-nor/sfdp.h | 3 +- drivers/mtd/spi-nor/spansion.c | 12 +- drivers/mtd/spi-nor/swp.c | 419 ++++++++++++++++++++++++++++++++ drivers/mtd/spi-nor/winbond.c | 3 +- 10 files changed, 479 insertions(+), 480 deletions(-) create mode 100644 drivers/mtd/spi-nor/swp.c -- 2.25.1