kernel-ark/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
ecard.c ARM: rpc: check device_register return code in ecard_probe 2012-10-07 10:33:09 +02:00
ecard.h
fiq.S
irq.c ARM: fiq: change FIQ_START to a variable 2012-07-01 21:59:19 +08:00
Makefile
Makefile.boot
riscpc.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
time.c