ARM: ux500: pass parent pointer to each platform device
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Feb 2012 19:22:21 +0000 (11:22 -0800)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Feb 2012 06:31:29 +0000 (06:31 +0000)
commit18403424c4fe5bac509bf52343f5d5407d45ee3a
treeae9a0f3056c712ee7f8042d667b267bedda92abf
parentd65b4e98d7ea3038b767b70fe8be959b2913f16d
ARM: ux500: pass parent pointer to each platform device

This patch provides a means for any device within ux500
platform code to allocate its own parent. This is particularly
prudent with the introduction of /sys/devices/socX, as a
device can now proclaim to be integral part of an SoC, rather
than a more generic platform device. Latter patches make good
use of this functionality.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 files changed:
arch/arm/mach-ux500/board-mop500-sdi.c
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/board-mop500.h
arch/arm/mach-ux500/board-u5500-sdi.c
arch/arm/mach-ux500/board-u5500.c
arch/arm/mach-ux500/cpu-db5500.c
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/devices-common.c
arch/arm/mach-ux500/devices-common.h
arch/arm/mach-ux500/devices-db5500.h
arch/arm/mach-ux500/devices-db8500.h
arch/arm/mach-ux500/dma-db5500.c
arch/arm/mach-ux500/include/mach/setup.h
arch/arm/mach-ux500/include/mach/usb.h
arch/arm/mach-ux500/usb.c