aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-marzen.c
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-07-23 18:07:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-23 19:09:03 -0700
commitd2168146c222d607bf4baeaaaa990f39411d1567 (patch)
tree67ecdec367d9e7d13eda2bc4b2189453addf568e /arch/arm/mach-shmobile/board-marzen.c
parentMerge 3.16-rc6 into driver-core-next (diff)
downloadlinux-dev-d2168146c222d607bf4baeaaaa990f39411d1567.tar.xz
linux-dev-d2168146c222d607bf4baeaaaa990f39411d1567.zip
platform: Remove most references to platform_bus device
A number of board files in arch/arm and arch/unicore32 explicitly reference platform_bus device as a parent for new platform devices. This is unnecessary, as platform device API guarantees that devices with NULL parent are going to by adopted by the mentioned "root" device. This patch removes or replaces with NULL such references. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-marzen.c')
-rw-r--r--arch/arm/mach-shmobile/board-marzen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-marzen.c b/arch/arm/mach-shmobile/board-marzen.c
index d832a4477b4b..6ed324ce848f 100644
--- a/arch/arm/mach-shmobile/board-marzen.c
+++ b/arch/arm/mach-shmobile/board-marzen.c
@@ -272,7 +272,6 @@ static struct resource vin##idx##_resources[] __initdata = { \
}; \
\
static struct platform_device_info vin##idx##_info __initdata = { \
- .parent = &platform_bus, \
.name = "r8a7779-vin", \
.id = idx, \
.res = vin##idx##_resources, \