dt: Refactor of_platform_bus_probe()
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 18 Mar 2011 16:21:28 +0000 (10:21 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 23 Mar 2011 20:55:55 +0000 (14:55 -0600)
commit38e9e21dac33082f0440d24aefb3466bb18bfed6
treeb222f3a436508faab42afe76f1f2e78f1933fbbc
parent4bbba111d94781d34081c37856bbc5eb33f6c72a
dt: Refactor of_platform_bus_probe()

The current implementation uses three copies of of basically identical
code.  This patch consolidates them to make the code simpler.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/platform.c