hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-imx/mach-imx6sx.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2014 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
96 #include <linux/irqchip.h>
....@@ -66,13 +63,7 @@
6663
6764 static void __init imx6sx_init_machine(void)
6865 {
69
- struct device *parent;
70
-
71
- parent = imx_soc_device_init();
72
- if (parent == NULL)
73
- pr_warn("failed to initialize soc device\n");
74
-
75
- of_platform_default_populate(NULL, NULL, parent);
66
+ of_platform_default_populate(NULL, NULL, NULL);
7667
7768 imx6sx_enet_init();
7869 imx_anatop_init();