mtd: spi-nor: print flash ID instead of name
authorTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 15 Dec 2023 08:21:35 +0000 (10:21 +0200)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Tue, 19 Dec 2023 02:43:00 +0000 (04:43 +0200)
commit9fcb0999345e94303a0514f2d2850246c11308f4
treeaf9d73df4d60e1af1d616e00c1d28805bf10e4dc
parentc692ba6de1c5b4dc8cad0ba70281ba4cf9d2fdac
mtd: spi-nor: print flash ID instead of name

We saw flash ID collisions which make the flash name unreliable. Print
the manufacturer and device ID instead of the flash name.

Lower the print to dev_dbg to stop polluting the kernel log.

Suggested-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20231215082138.16063-2-tudor.ambarus@linaro.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/core.c