Skip to content

Commit afbfb8c

Browse files
mwalleambarus
authored andcommitted
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>
1 parent 74b7ad7 commit afbfb8c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/mtd/spi-nor/xilinx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
.n_sectors = (_n_sectors), \
2828
.page_size = (_page_size), \
2929
.n_banks = 1, \
30-
.addr_nbytes = 3, \
3130
.flags = SPI_NOR_NO_FR
3231

3332
/* Xilinx S3AN share MFR with Atmel SPI NOR */

0 commit comments

Comments
 (0)