mbox series

[0/4] mtd: spi-nor: mark the flash name as obsolete

Message ID 20231215082138.16063-1-tudor.ambarus@linaro.org
Headers show
Series mtd: spi-nor: mark the flash name as obsolete | expand

Message

Tudor Ambarus Dec. 15, 2023, 8:21 a.m. UTC
The flash name is unreliable as we saw flash ID collisions. Mark the
flash name as obsolete and print the manufacturer and device ID where
name was printed.

JaimeLiao (1):
  mtd: spi-nor: sysfs: hide the flash name if not set

Tudor Ambarus (3):
  mtd: spi-nor: print flash ID instead of name
  mtd: spi-nor: mark the flash name as obsolete
  mtd: spi-nor: drop superfluous debug prints

 .../ABI/testing/sysfs-bus-spi-devices-spi-nor |  3 +++
 drivers/mtd/spi-nor/core.c                    | 22 +++----------------
 drivers/mtd/spi-nor/core.h                    |  2 +-
 drivers/mtd/spi-nor/sysfs.c                   |  2 ++
 4 files changed, 9 insertions(+), 20 deletions(-)

Comments

Tudor Ambarus Dec. 19, 2023, 2:47 a.m. UTC | #1
On Fri, 15 Dec 2023 10:21:34 +0200, Tudor Ambarus wrote:
> The flash name is unreliable as we saw flash ID collisions. Mark the
> flash name as obsolete and print the manufacturer and device ID where
> name was printed.
> 
> JaimeLiao (1):
>   mtd: spi-nor: sysfs: hide the flash name if not set
> 
> [...]

Dropped unused variables, fixed typos and
applied to git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git,
spi-nor/next branch. Thanks!

[1/4] mtd: spi-nor: print flash ID instead of name
      https://git.kernel.org/mtd/c/9fcb0999345e
[2/4] mtd: spi-nor: mark the flash name as obsolete
      https://git.kernel.org/mtd/c/15eb8303bb42
[3/4] mtd: spi-nor: sysfs: hide the flash name if not set
      https://git.kernel.org/mtd/c/62f92e62c1ef
[4/4] mtd: spi-nor: drop superfluous debug prints
      https://git.kernel.org/mtd/c/7bf018ea5cb6

Cheers,