diff options
author | 2021-01-12 02:35:40 -0800 | |
---|---|---|
committer | 2021-01-19 10:22:23 +0100 | |
commit | e26124cd5f7099949109608845bba9e9bf96599c (patch) | |
tree | 5ee8dcfe8afb4698a7ecb7d9cdc7c73975e3fad9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | EDAC/ppc4xx: Convert comma to semicolon (diff) | |
download | wireguard-linux-e26124cd5f7099949109608845bba9e9bf96599c.tar.xz wireguard-linux-e26124cd5f7099949109608845bba9e9bf96599c.zip |
EDAC/xgene: Do not print a failure message to get an IRQ twice
Coccinelle reports a redundant error print in xgene_edac_probe() because
platform_get_irq() will already print an error message when it is unable
to get an IRQ.
Use platform_get_irq_optional() instead which avoids the error message
and keep the driver-specific one.
[ bp: Sanitize commit message. ]
Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Robert Richter <rric@kernel.org>
Link: https://lkml.kernel.org/r/20210112103540.7818-1-dong.menglong@zte.com.cn
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions