net: davicom: Use platform_get_irq_optional()
authorPaul Cercueil <paul@crapouillou.net>
Sun, 7 Mar 2021 13:17:49 +0000 (13:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Mar 2021 20:01:58 +0000 (12:01 -0800)
commit2e2696223676d56db1a93acfca722c1b96cd552d
tree8a96ac87145e8da13131469b871a2db3e65ce9bc
parentcf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b
net: davicom: Use platform_get_irq_optional()

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

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c