Re: [PATCH 2/2] can: c_can_platform: fix irq check in probe
From: David Miller <hidden> Date: 2011-03-28 01:20:56
From: Marc Kleine-Budde <redacted>
Date: Thu, 24 Mar 2011 13:34:33 +0100
This patch fixes the check in the probe function whether a IRQ was supplied
to the driver. The original driver check the irq "struct resource *" against
<= 0. Use "platform_get_irq" instead.
Signed-off-by: Marc Kleine-Budde <redacted>