Re: [PATCH v2] net: mvmdio: avoid error message for optional IRQ

From: Andrew Lunn
Date: Mon Mar 16 2020 - 04:38:15 EST


> Actually on closer inspection I think this is wrong.
> platform_get_irq_optional() will return -ENXIO if the irq is not
> specified.

The _optional is then pointless. And different to all the other
_optional functions which don't return an error if the property is not
defined.

Are you really sure about this? I don't have the time right now to
check.

Andrew