Michael Ellerman a2cd52ca90 PCI: Make pcibios_add_platform_entries() return errors
Currently pcibios_add_platform_entries() returns void, but could fail,
so instead have it return an int and propagate errors up to
pci_create_sysfs_dev_files().

Fixes:
arch/powerpc/kernel/pci_64.c: In function 'pcibios_add_platform_entries':
arch/powerpc/kernel/pci_64.c:878: warning: ignoring return value of
	'device_create_file', declared with attribute warn_unused_result
arch/powerpc/kernel/pci_32.c: In function 'pcibios_add_platform_entries':
  arch/powerpc/kernel/pci_32.c:1043: warning: ignoring return value of
	'device_create_file', declared with attribute warn_unused_result

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:07 -07:00
..
2007-05-21 09:18:19 -07:00
2007-05-21 09:18:19 -07:00
2005-10-18 08:26:15 -07:00
2006-12-04 02:00:22 -05:00
2006-10-04 07:55:30 -07:00
2006-12-01 14:36:56 -08:00
2007-05-09 07:19:14 +02:00
2006-09-26 17:43:54 -07:00
2007-05-31 16:56:37 -07:00