rio: warn_unused_result warnings fix
authorYang Li <leoli@freescale.com>
Mon, 11 May 2009 22:36:02 +0000 (22:36 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Jun 2009 02:45:32 +0000 (21:45 -0500)
commit5f28c52003612cccf12dfcbac4d9f0692bd28e67
treed51517971a8d76406a91eccc18cb6abf54223504
parent7b9edb9d619a1b3ecd35d832d4a93803d4f0ca5f
rio: warn_unused_result warnings fix

Adding failure path for the following two cases.

warning: ignoring return value of 'device_add', declared with attribute warn_unused_result
warning: ignoring return value of 'sysfs_create_bin_file', declared with attribute warn_unused_result

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/rapidio/rio-scan.c
drivers/rapidio/rio-sysfs.c