ARM: sa11x0: neponset: dynamically create neponset child devices
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 24 Jan 2012 22:36:47 +0000 (22:36 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:34:15 +0000 (15:34 +0000)
commit9590e898742cd6cd50aab1109a115faf42befaf7
treee9fde9b05f0b61a051169fc8cf07908582ae0cb1
parentae14c2e28cd6d78a975dda853d2fdb00a3219c16
ARM: sa11x0: neponset: dynamically create neponset child devices

Use platform_device_register_full() to dynamically create the various
neponset child platform devices, and place them below the neponset
device itself to ensure proper PM ordering and device structure.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/neponset.c