diff options
author | Michael Walle <michael@walle.cc> | 2022-08-11 00:06:48 +0200 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-11-21 15:37:15 +0200 |
commit | 7d388551b6888f3725e6c957f472526b35161a5b (patch) | |
tree | fb31d618e80885d8c7e478032dfa644fa5abd3c4 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 2ebc336be08160debfe27f87660cf550d710f3e9 (diff) |
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions