diff options
author | David Lechner <david@lechnology.com> | 2016-02-29 23:33:24 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2016-04-14 08:39:49 +0200 |
commit | 2f44a8d141bcfc866d7f3672563a7da735dacce6 (patch) | |
tree | ced0f404bb0516a1ea895413f37a84f2df582e27 /arch | |
parent | ARM: DaVinci USB: removed deprecated properties from MUSB config (diff) | |
download | linux-2f44a8d141bcfc866d7f3672563a7da735dacce6.tar.xz linux-2f44a8d141bcfc866d7f3672563a7da735dacce6.zip |
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')
-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 = { |