Skip to content

Commit

Permalink
ARM: davinci: simplify call to of populate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Lechner authored and Sekhar Nori committed Apr 14, 2016
1 parent 371a13d commit 2f44a8d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/arm/mach-davinci/da8xx-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2f44a8d

Please sign in to comment.