diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-03-13 20:42:52 +0100 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-03-17 08:28:06 +0100 |
commit | d3c4bb31bf627ede607d7b1827e6be43f1b26be7 (patch) | |
tree | d615d835dba497bff0751b42c081340031ea9d27 /drivers/mtd | |
parent | mtd: spi-nor: Get rid of the now empty spi_nor_ids[] table (diff) | |
download | linux-d3c4bb31bf627ede607d7b1827e6be43f1b26be7.tar.xz linux-d3c4bb31bf627ede607d7b1827e6be43f1b26be7.zip |
mtd: spi-nor: Drop the MFR definitions
Cross manufacturer code is unlikely and discouraged, get rid of the
MFR definitions.
Suggested-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/spi-nor/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index baee58fd8b04..b07e66f10995 100644 --- a/drivers/mtd/spi-nor/core.c +++ b/drivers/mtd/spi-nor/core.c @@ -40,8 +40,6 @@ #define SPI_NOR_MAX_ADDR_WIDTH 4 -#define JEDEC_MFR(info) ((info)->id[0]) - /** * spi_nor_spimem_bounce() - check if a bounce buffer is needed for the data * transfer |