[PATCH] driver core: platform_get_irq*(): return -ENXIO on error
authorDavid Vrabel <dvrabel@arcom.com>
Thu, 19 Jan 2006 17:52:27 +0000 (17:52 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 21:42:57 +0000 (13:42 -0800)
commit305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0
treef8ecf355e7433d8442f1c76f232f01e72a89b769
parent972de6c8bfd8b36618563be454df1e95a36dc379
[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: David Vrabel <dvrabel@arcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c