]> Git Repo - linux.git/commitdiff
ARM: imx6q: drop of_platform_default_populate() from init_machine
authorMarco Felsch <[email protected]>
Tue, 25 May 2021 10:01:08 +0000 (12:01 +0200)
committerShawn Guo <[email protected]>
Sat, 12 Jun 2021 03:54:40 +0000 (11:54 +0800)
Dropping the machine_init specific of_platform_default_populate() can be
done safely due to the following two facts:

1)
Since commit 44a7185c2ae6 ("of/platform: Add common method to populate
default bus") we have a common method to populate the devices.

2)
The machine_init code don't need bounded devices<>drivers since the code
uses syscon_regmap_lookup_by_compatible() which register a syscon
device on demand.

Signed-off-by: Marco Felsch <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
arch/arm/mach-imx/mach-imx6q.c

index c9d7c29d95e1e1eddf08196f7e42c34b7de496f4..11dcc369ec14a3353d94504b10fa4c476124225c 100644 (file)
@@ -172,9 +172,6 @@ static void __init imx6q_init_machine(void)
                                imx_get_soc_revision());
 
        imx6q_enet_phy_init();
-
-       of_platform_default_populate(NULL, NULL, NULL);
-
        imx_anatop_init();
        cpu_is_imx6q() ?  imx6q_pm_init() : imx6dl_pm_init();
        imx6q_1588_init();
This page took 0.052576 seconds and 4 git commands to generate.