diff options
author | David Lechner <david@lechnology.com> | 2016-02-29 16:33:24 -0600 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2016-04-14 12:09:49 +0530 |
commit | 2f44a8d141bcfc866d7f3672563a7da735dacce6 (patch) | |
tree | ced0f404bb0516a1ea895413f37a84f2df582e27 /arch/arm/mach-davinci | |
parent | 371a13d41599dd86e74625d542a6dc345ed1f312 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/da8xx-dt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index c4b5808ca7c1..358ab34c4f94 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c @@ -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 = { |