ARM: davinci: simplify call to of populate

Take advantage of of_platoform_default_populate convience function.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
David Lechner 2016-02-29 16:33:24 -06:00 committed by Sekhar Nori
parent 371a13d415
commit 2f44a8d141

View File

@ -54,9 +54,7 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = {
static void __init da850_init_machine(void) static void __init da850_init_machine(void)
{ {
of_platform_populate(NULL, of_default_bus_match_table, of_platform_default_populate(NULL, da850_auxdata_lookup, NULL);
da850_auxdata_lookup, NULL);
} }
static const char *const da850_boards_compat[] __initconst = { static const char *const da850_boards_compat[] __initconst = {