mtd: spi-nor: Fix comment of spi_nor_find_best_erase_type()
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Tue, 19 Mar 2019 16:57:13 +0000 (16:57 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 21 Mar 2019 16:24:32 +0000 (17:24 +0100)
commit706707341bef5b076e7c271a2dab7e6cd6af7902
treecb0d2a2f366285c5c9bc62cc147d7ba3896d2664
parent3ddc8adbbc76832e96b8500ff50f4b20b9060128
mtd: spi-nor: Fix comment of spi_nor_find_best_erase_type()

Erase types are sorted *smallest* type first, refer to
spi_nor_sort_erase_mask().

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/spi-nor/spi-nor.c