Thread (33 messages) flat view 33 messages, 7 authors, 2014-09-01
STALE4396d

[PATCH 1/5] ARM: imx: Remove references to platform_bus in mxc code

From: Pawel Moll <hidden>
Date: 2014-07-25 14:24:15
Also in: linux-tegra, lkml
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

The bus devices created to be parents for other peripherals
were using platform_bus as a parent, not being platform
devices themselves. Remove the references, making them
virtual devices instead.

Cc: Shawn Guo <redacted>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <redacted>
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Pawel Moll <redacted>
---

This patch is a part of effort to remove references to platform_bus
and make it static.

Shawn, Sascha - could you, please, have a look if such change
is acceptable for you?

 arch/arm/mach-imx/devices/devices.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-imx/devices/devices.c b/arch/arm/mach-imx/devices/devices.c
index 1b4366a..8eab544 100644
--- a/arch/arm/mach-imx/devices/devices.c
+++ b/arch/arm/mach-imx/devices/devices.c
@@ -24,12 +24,10 @@
 
 struct device mxc_aips_bus = {
 	.init_name	= "mxc_aips",
-	.parent		= &platform_bus,
 };
 
 struct device mxc_ahb_bus = {
 	.init_name	= "mxc_ahb",
-	.parent		= &platform_bus,
 };
 
 int __init mxc_device_init(void)
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help