]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: davinci: simplify call to of populate
authorDavid Lechner <david@lechnology.com>
Mon, 29 Feb 2016 22:33:24 +0000 (16:33 -0600)
committerSekhar Nori <nsekhar@ti.com>
Thu, 14 Apr 2016 06:39:49 +0000 (12:09 +0530)
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>
arch/arm/mach-davinci/da8xx-dt.c

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