platform: Remove most references to platform_bus device
authorPawel Moll <pawel.moll@arm.com>
Wed, 23 Jul 2014 17:07:18 +0000 (18:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 02:09:03 +0000 (19:09 -0700)
commitd2168146c222d607bf4baeaaaa990f39411d1567
tree67ecdec367d9e7d13eda2bc4b2189453addf568e
parent90125edbc49ec58b9101c4271bb1d87b04a4620f
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>
19 files changed:
arch/arm/mach-bcm/board_bcm21664.c
arch/arm/mach-bcm/board_bcm281xx.c
arch/arm/mach-clps711x/board-edb7211.c
arch/arm/mach-clps711x/board-p720t.c
arch/arm/mach-imx/mach-mx27ads.c
arch/arm/mach-shmobile/board-ape6evm.c
arch/arm/mach-shmobile/board-bockw.c
arch/arm/mach-shmobile/board-genmai.c
arch/arm/mach-shmobile/board-koelsch.c
arch/arm/mach-shmobile/board-lager.c
arch/arm/mach-shmobile/board-marzen.c
arch/arm/mach-shmobile/setup-r7s72100.c
arch/arm/mach-shmobile/setup-r8a73a4.c
arch/arm/mach-shmobile/setup-r8a7778.c
arch/arm/mach-shmobile/setup-r8a7779.c
arch/arm/mach-shmobile/setup-r8a7790.c
arch/arm/mach-shmobile/setup-r8a7791.c
arch/unicore32/kernel/puv3-core.c
arch/unicore32/kernel/puv3-nb0916.c
This page took 0.026393 seconds and 5 git commands to generate.