[PATCH] handle errors returned by platform_get_irq*()