ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration
authorBenoit Cousson <b-cousson@ti.com>
Tue, 9 Aug 2011 14:47:01 +0000 (16:47 +0200)
committerKevin Hilman <khilman@ti.com>
Fri, 30 Sep 2011 18:42:01 +0000 (11:42 -0700)
commitad54099f6439d0777a33854cd2f177a4f7a63653
tree37e2f72bae9c0d288397e0e51a53b80bd04c0291
parent9d9dae65b6717356056a8234429cee9250f1cf10
ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration

Split the omap_device_build_ss into two smaller functions
that will allow to populate a platform_device already allocated by
device-tree.

The functionality of the omap_device_build_ss is still the same, but
the omap_device_alloc will be usable with devices already built by
device-tree.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/omap_device.c