summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Walle <mwalle@kernel.org>2023-09-08 12:16:22 +0200
committerTudor Ambarus <tudor.ambarus@linaro.org>2023-09-19 18:49:25 +0300
commitafbfb8c5fb57db15b0e34ad01937a985b7160533 (patch)
tree4ace64af6cd3e90a46fcae3a662d2b437c91cd58
parent74b7ad7683536de6d27e15f5cb0c2f1bebd1c375 (diff)
downloadlinux-stable-afbfb8c5fb57db15b0e34ad01937a985b7160533.tar.gz
linux-stable-afbfb8c5fb57db15b0e34ad01937a985b7160533.tar.bz2
linux-stable-afbfb8c5fb57db15b0e34ad01937a985b7160533.zip
mtd: spi-nor: xilinx: remove addr_nbytes from S3AN_INFO()
The default value of addr_nbytes is already 3. Drop it. Signed-off-by: Michael Walle <mwalle@kernel.org> Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-4-e60548861b10@kernel.org Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
-rw-r--r--drivers/mtd/spi-nor/xilinx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/xilinx.c b/drivers/mtd/spi-nor/xilinx.c
index de5189c38432..34267591282c 100644
--- a/drivers/mtd/spi-nor/xilinx.c
+++ b/drivers/mtd/spi-nor/xilinx.c
@@ -27,7 +27,6 @@
.n_sectors = (_n_sectors), \
.page_size = (_page_size), \
.n_banks = 1, \
- .addr_nbytes = 3, \
.flags = SPI_NOR_NO_FR
/* Xilinx S3AN share MFR with Atmel SPI NOR */