hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-imx/mach-imx6sl.c
....@@ -1,14 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2013 Freescale Semiconductor, Inc.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
7
- *
84 */
95
106 #include <linux/irqchip.h>
11
-#include <linux/of.h>
127 #include <linux/of_platform.h>
138 #include <linux/mfd/syscon.h>
149 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
....@@ -50,13 +45,7 @@
5045
5146 static void __init imx6sl_init_machine(void)
5247 {
53
- struct device *parent;
54
-
55
- parent = imx_soc_device_init();
56
- if (parent == NULL)
57
- pr_warn("failed to initialize soc device\n");
58
-
59
- of_platform_default_populate(NULL, NULL, parent);
48
+ of_platform_default_populate(NULL, NULL, NULL);
6049
6150 if (cpu_is_imx6sl())
6251 imx6sl_fec_init();