mtd: spi-nor: s/addr_width/addr_nbytes
authorTudor Ambarus <tudor.ambarus@microchip.com>
Mon, 25 Jul 2022 09:24:59 +0000 (12:24 +0300)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 28 Jul 2022 02:11:56 +0000 (05:11 +0300)
commitc452d49849d48bd37ae97fc2bc92c6435707c35f
tree32d61a8ddbe889e394efb969afa0ec6e6286a1fa
parent41e4f15f02af67fbcd6fec243ef52627f51760b4
mtd: spi-nor: s/addr_width/addr_nbytes

Address width was an unfortunate name, as it means the number of IO lines
used for the address, whereas in the code it is used as the number of
address bytes. s/addr_width/addr_nbytes throughout the entire SPI NOR
framework.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Acked-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220725092505.446315-2-tudor.ambarus@microchip.com
drivers/mtd/spi-nor/controllers/hisi-sfc.c
drivers/mtd/spi-nor/controllers/nxp-spifi.c
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h
drivers/mtd/spi-nor/debugfs.c
drivers/mtd/spi-nor/issi.c
drivers/mtd/spi-nor/otp.c
drivers/mtd/spi-nor/sfdp.c
drivers/mtd/spi-nor/xilinx.c
include/linux/mtd/spi-nor.h