diff options
author | Andy Shevchenko <[email protected]> | 2021-11-23 19:00:32 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-11-24 12:57:42 +0000 |
commit | b79332ef9d61513d0ccda74a5161bb7c31851e9c (patch) | |
tree | 46203e2fcb83573563c8145b15169a379e7ea36b /tools/perf/scripts/python | |
parent | fffc84fd87d963a2ea77a125b8a6f5a3c9f3192d (diff) |
spi: Fix condition in the __spi_register_driver()
The recent commit 3f07657506df ("spi: deduplicate spi_match_id()
in __spi_register_driver()") inadvertently inverted a condition
that provokes a (harmless) warning:
WARNING KERN SPI driver mtd_dataflash has no spi_device_id for atmel,at45
Restore logic to avoid such warning to be issued.
Fixes: 3f07657506df ("spi: deduplicate spi_match_id() in __spi_register_driver()")
Reported-by: Jon Hunter <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Jon Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions