Re: [RFC PATCH 1/3] OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration

2011-09-02 Thread Cousson, Benoit
On 9/1/2011 8:30 PM, Hilman, Kevin wrote: Benoit Coussonb-cous...@ti.com writes: Split the omap_device_build_ss into two smaller functions that will allow to populate a platform_device already alocated by device-tree. The functionality of the omap_device_build_ss is still the same, but

Re: [RFC PATCH 1/3] OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration

2011-09-02 Thread Kevin Hilman
Cousson, Benoit b-cous...@ti.com writes: [...] @@ -471,72 +572,31 @@ struct platform_device *omap_device_build_ss(const char *pdev_name, int pdev_id, goto odbs_exit; } - pr_debug(omap_device: %s: building with %d hwmods\n, pdev_name, -oh_cnt); + /* Set

Re: [RFC PATCH 1/3] OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration

2011-09-01 Thread Kevin Hilman
Benoit Cousson b-cous...@ti.com writes: Split the omap_device_build_ss into two smaller functions that will allow to populate a platform_device already alocated by device-tree. The functionality of the omap_device_build_ss is still the same, but the omap_device_alloc will be usable with

[RFC PATCH 1/3] OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration

2011-08-22 Thread Benoit Cousson
Split the omap_device_build_ss into two smaller functions that will allow to populate a platform_device already alocated 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.