linux/arch/arm/mach-rpc
Arnd Bergmann 5f07809e93 ARM: rpc: check device_register return code in ecard_probe
device_register is marked __must_check, so we better propagate the error
value by returning it from ecard_probe.

Without this patch, building rpc_defconfig results in:

arch/arm/mach-rpc/ecard.c: In function 'ecard_probe':
arch/arm/mach-rpc/ecard.c:963:17: warning: ignoring return value of 'device_register', declared with attribute warn_unused_result [-Wunused-result]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
2012-10-07 10:33:09 +02:00
..
include/mach ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
dma.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ecard.c ARM: rpc: check device_register return code in ecard_probe 2012-10-07 10:33:09 +02:00
ecard.h ARM: riscpc: move ecard.c to arch/arm/mach-rpc 2012-03-24 09:37:36 +00:00
fiq.S ARM: rpc: make default fiq handler run-time installed 2012-02-21 17:04:33 -06:00
irq.c ARM: fiq: change FIQ_START to a variable 2012-07-01 21:59:19 +08:00
Makefile Merge branch 'platforms' of git://git.linaro.org/people/rmk/linux-arm 2012-03-27 18:17:02 -07:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
riscpc.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
time.c ARM: riscpc: remove IRQ_TIMER 2012-03-24 09:37:36 +00:00