]> git.itanic.dy.fi Git - linux-stable/commit
mtd: spi-nor: introduce (temporary) INFO0()
authorMichael Walle <mwalle@kernel.org>
Fri, 8 Sep 2023 10:16:30 +0000 (12:16 +0200)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Tue, 19 Sep 2023 15:57:50 +0000 (18:57 +0300)
commit95c6e3d26691d9144bfa3cdb95962bdb24d98905
tree9c2ff60175ce49a229a95f87d9338bd5b41741cd
parent3ea3f0ac242c86c0275d347ab8c92bf1eb854b49
mtd: spi-nor: introduce (temporary) INFO0()

The id will be converted to an own structure. To differentiate between
flashes with and without IDs, introduce a temporary macro INFO0() and
convert all flashes with no ID to use it. The difference between INFO0()
and INFOx() is that the former, doesn't have a pointer to the id
structure. Something which isn't possible to do within the INFOx()
macro.
After the flash_info conversion, that macro will be removed along with
all the other INFOx() macros.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Link: https://lore.kernel.org/r/20230807-mtd-flash-info-db-rework-v3-12-e60548861b10@kernel.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/core.h
drivers/mtd/spi-nor/issi.c
drivers/mtd/spi-nor/micron-st.c