projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74b7ad7
)
mtd: spi-nor: xilinx: remove addr_nbytes from S3AN_INFO()
author
Michael Walle
<mwalle@kernel.org>
Fri, 8 Sep 2023 10:16:22 +0000
(12:16 +0200)
committer
Tudor Ambarus
<tudor.ambarus@linaro.org>
Tue, 19 Sep 2023 15:49:25 +0000
(18:49 +0300)
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>
drivers/mtd/spi-nor/xilinx.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi-nor/xilinx.c
b/drivers/mtd/spi-nor/xilinx.c
index de5189c38432dab193bc67896c1e974bb438c604..34267591282c666b450d6662bcba3eb38afeffb8 100644
(file)
--- 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 */