pata-rb532-cf: platform_get_irq() fix ignored failure

platform_get_irq() can return -ENXIO, but since 'irq' is an
unsigned int, it does not show when the IRQ resource wasn't found.
Make irq an int so that we can use a single variable to test the
platform_get_irq() return value.

Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Phil Sutter <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
1 file changed