linux-stable-rt/arch/avr32/mach-at32ap
Uwe Kleine-König c7d876321f don't check platform_get_irq's return value against zero
platform_get_irq returns -ENXIO on failure, so !int_irq was probably
always true.  Better use (int)int_irq <= 0.  Note that a return value of
zero is still handled as error even though this could mean irq0.

This is a followup to 305b3228f9 that
changed the return value of platform_get_irq from 0 to -ENXIO on error.

Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2011-04-13 15:46:57 +02:00
..
include/mach
Kconfig
Makefile
at32ap700x.c
clock.c
clock.h
cpufreq.c
extint.c
hmatrix.c
hsmc.c
hsmc.h
intc.c
intc.h
pdc.c
pio.c
pio.h
pm-at32ap700x.S
pm.c
pm.h
sdramc.h