of: remove of_default_bus_ids
authorJonas Bonn <jonas@southpole.se>
Fri, 23 Jul 2010 18:19:24 +0000 (20:19 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 24 Jul 2010 15:58:22 +0000 (09:58 -0600)
commitc0dd394ca5e78649b7013c3ce2d6338af9f228f0
treeed1702f29368675d22fd31a7b00497674011e179
parentc608558407aa64d2b98d58bfc116e95c0afb357e
of: remove of_default_bus_ids

This list used was by only two platforms with all other platforms defining an
own list of valid bus id's to pass to of_platform_bus_probe.  This patch:

i)   copies the default list to the two platforms that depended on it (powerpc)
ii)  remove the usage of of_default_bus_ids in of_platform_bus_probe
iii) removes the definition of the list from all architectures that defined it

Passing a NULL 'matches' parameter to of_platform_bus_probe is still valid; the
function returns no error in that case as the NULL value is equivalent to an
empty list.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
[grant.likely@secretlab.ca: added __initdata annotations, warn on and return error on missing match table, and fix whitespace errors]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/microblaze/kernel/Makefile
arch/microblaze/kernel/of_platform.c [deleted file]
arch/powerpc/kernel/of_platform.c
arch/powerpc/platforms/cell/qpace_setup.c
arch/powerpc/platforms/cell/setup.c
drivers/of/platform.c
include/linux/of_platform.h