Re: [RFC 0/4] of: introduce of_dev_get_platdata()

2015-08-31 Thread Kim, Milo
Hi Rob, On 8/28/2015 9:59 PM, Rob Herring wrote: On Fri, Aug 28, 2015 at 4:12 AM, Milo Kim wrote: >New function, 'of_dev_get_platdata()' > - provides unified handling of getting device platform data > - supports DT and non-DT(legacy) cases > - removes duplicated code from each driver > - k

Re: [RFC 0/4] of: introduce of_dev_get_platdata()

2015-08-28 Thread Rob Herring
On Fri, Aug 28, 2015 at 4:12 AM, Milo Kim wrote: > New function, 'of_dev_get_platdata()' > - provides unified handling of getting device platform data > - supports DT and non-DT(legacy) cases > - removes duplicated code from each driver > - keeps driver specific code simple in each driver Thi

[RFC 0/4] of: introduce of_dev_get_platdata()

2015-08-28 Thread Milo Kim
New function, 'of_dev_get_platdata()' - provides unified handling of getting device platform data - supports DT and non-DT(legacy) cases - removes duplicated code from each driver - keeps driver specific code simple in each driver Issues -- On loading a driver, the driver tries to get the