]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx6q: drop of_platform_default_populate() from init_machine
authorMarco Felsch <m.felsch@pengutronix.de>
Tue, 25 May 2021 10:01:08 +0000 (12:01 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 12 Jun 2021 03:54:40 +0000 (11:54 +0800)
commit38547f17ca311bf88119dd9b924c398417753d60
tree1a70a675aad18251088e8a79cded6caa64e89f8a
parentb32a629cc24f752a94e7313e1d0a85497a5e2405
ARM: imx6q: drop of_platform_default_populate() from init_machine

Dropping the machine_init specific of_platform_default_populate() can be
done safely due to the following two facts:

1)
Since commit af9c8d9c3f15 ("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 <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mach-imx6q.c