From: Saravana Kannan Date: Sat, 21 Nov 2020 02:02:20 +0000 (-0800) Subject: Revert "of: platform: Batch fwnode parsing when adding all top level devices" X-Git-Tag: v5.11-rc1~165^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=087ad763c15477fba4324d7312866946b7f5ed30;p=thirdparty%2Fkernel%2Flinux.git Revert "of: platform: Batch fwnode parsing when adding all top level devices" This reverts commit 93d2e4322aa74c1ad1e8c2160608eb9a960d69ff. The fw_devlink_pause/resume() optimization attempt is getting replaced with a much more robust optimization by the end of this series. So, stop using those APIs. Acked-by: Rob Herring Signed-off-by: Saravana Kannan Link: https://lore.kernel.org/r/20201121020232.908850-6-saravanak@google.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/of/platform.c b/drivers/of/platform.c index b557a0fcd4ba0..79bd5f5a1bf17 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -538,9 +538,7 @@ static int __init of_platform_default_populate_init(void) } /* Populate everything else. */ - fw_devlink_pause(); of_platform_default_populate(NULL, NULL, NULL); - fw_devlink_resume(); return 0; }