diff options
author | Michael Walle <[email protected]> | 2023-03-08 09:20:19 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2023-03-08 14:31:36 +0100 |
commit | 8bd1d24e6ca3c599dd455b0e1b22f77bab8290eb (patch) | |
tree | a677a591d402147a14feeed8eb7957e2dd6538bf /tools/perf/scripts/python/sched-migration.py | |
parent | 1cd9ceaa5282ff10ea20a7fbadde5a476a1cc99e (diff) |
mtd: core: fix nvmem error reporting
The master MTD will only have an associated device if
CONFIG_MTD_PARTITIONED_MASTER is set, thus we cannot use dev_err() on
mtd->dev. Instead use the parent device which is the physical flash
memory.
Fixes: 4b361cfa8624 ("mtd: core: add OTP nvmem provider support")
Cc: [email protected]
Signed-off-by: Michael Walle <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions