From: Marc Kleine-Budde Date: Thu, 24 Mar 2011 02:34:33 +0000 (+0000) Subject: can: c_can_platform: fix irq check in probe X-Git-Tag: v2.6.39-rc1~9^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0052b088cf0cb688b4630c1d520c57276da71a5;p=pandora-kernel.git can: c_can_platform: fix irq check in probe 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 Cc: Bhupesh Sharma Signed-off-by: David S. Miller --- Reading git-diff-tree failed