hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm/mach-imx/mach-imx6ul.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2015 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.
74 */
85 #include <linux/irqchip.h>
96 #include <linux/mfd/syscon.h>
....@@ -28,7 +25,6 @@
2825 IMX6UL_GPR1_ENET_CLK_OUTPUT);
2926 else
3027 pr_err("failed to find fsl,imx6ul-iomux-gpr regmap\n");
31
-
3228 }
3329
3430 static int ksz8081_phy_fixup(struct phy_device *dev)
....@@ -59,13 +55,7 @@
5955
6056 static void __init imx6ul_init_machine(void)
6157 {
62
- struct device *parent;
63
-
64
- parent = imx_soc_device_init();
65
- if (parent == NULL)
66
- pr_warn("failed to initialize soc device\n");
67
-
68
- of_platform_default_populate(NULL, NULL, parent);
58
+ of_platform_default_populate(NULL, NULL, NULL);
6959 imx6ul_enet_init();
7060 imx_anatop_init();
7161 imx6ul_pm_init();