On Fri, Mar 02, 2018 at 03:26:56PM +0300, Dan Carpenter wrote:
Ok, but in that case the original code is still wrong because it returns early with success. I guess it could be changed to:
if (irq <= 0) return -ENXIO;
What if platform_get_irq() returns -EPROBE_DEFER or some other error code?
So we're now re-hashing all the discussion from last November.