Commit 9991fb71 authored by Paul Cercueil's avatar Paul Cercueil Committed by Zheng Zengkai
Browse files

net: davicom: Use platform_get_irq_optional()



stable inclusion
from stable-5.10.27
commit 697082b125b07c57faffd70b12a42891d0803dd1
bugzilla: 51493

--------------------------------

[ Upstream commit 2e269622 ]

The second IRQ line really is optional, so use
platform_get_irq_optional() to obtain it.

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 76f005aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment