diff options
author | 2022-08-11 00:06:48 +0200 | |
---|---|---|
committer | 2022-11-21 15:37:15 +0200 | |
commit | 7d388551b6888f3725e6c957f472526b35161a5b (patch) | |
tree | fb31d618e80885d8c7e478032dfa644fa5abd3c4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type() (diff) | |
download | wireguard-linux-7d388551b6888f3725e6c957f472526b35161a5b.tar.xz wireguard-linux-7d388551b6888f3725e6c957f472526b35161a5b.zip |
mtd: spi-nor: hide jedec_id sysfs attribute if not present
Some non-jedec compliant flashes (like the Everspin flashes) don't have
an ID at all. Hide the attribute in this case.
Fixes: 36ac02286265 ("mtd: spi-nor: add initial sysfs support")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Link: https://lore.kernel.org/r/20220810220654.1297699-2-michael@walle.cc
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions