Skip to content
Commit 305b3228 authored by David Vrabel's avatar David Vrabel Committed by Greg Kroah-Hartman
Browse files

[PATCH] driver core: platform_get_irq*(): return -ENXIO on error



platform_get_irq*() cannot return 0 on error as 0 is a valid IRQ on some
platforms, return -ENXIO instead.

Signed-off-by: default avatarDavid Vrabel <dvrabel@arcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 972de6c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment