driver core: platform_get_irq*(): return -ENXIO on error
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/2] driver core: platform_get_irq*(): return -ENXIO on error
platform_get_irq*() can't return 0 on error since 0 may be a valid IRQ., instead return a -ve error code.
platform_get_irq-return-error:
- return -ENXIO if platform_get_irq*() can't find the resource.
platform_get_irq-fix-users-on-error:
- fix all the users of platform_get_irq*() so they do something
sensible when it returns an error.
David Vrabel