in drivers/base/platform.c, platform_get_irq() returns 0 if there is no IRQ found in the resources, however 0 is a valid IRQ on at least some of the ARM architectures. This patch changes the return code to be -ENOENT instead. Signed-of-by: Ben Dooks