diff options
author | Menglong Dong <dong.menglong@zte.com.cn> | 2021-01-12 02:35:40 -0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-01-19 10:22:23 +0100 |
commit | e26124cd5f7099949109608845bba9e9bf96599c (patch) | |
tree | 5ee8dcfe8afb4698a7ecb7d9cdc7c73975e3fad9 /drivers/edac/e7xxx_edac.c | |
parent | e0e0427412d0f374461a5294efc161e00df4be53 (diff) |
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 'drivers/edac/e7xxx_edac.c')
0 files changed, 0 insertions, 0 deletions