Re: [RFC PATCH] of: base: add support to get machine model name

2016-11-17 Thread Arnd Bergmann
On Thursday, November 17, 2016 2:08:30 PM CET Sudeep Holla wrote: > On 17/11/16 13:50, Arnd Bergmann wrote: > > On Thursday, November 17, 2016 11:50:50 AM CET Sudeep Holla wrote: > >> Currently platforms/drivers needing to get the machine model name are > >> replicating the same snippet of code. In

Re: [RFC PATCH] of: base: add support to get machine model name

2016-11-17 Thread Sudeep Holla
On 17/11/16 14:13, Arnd Bergmann wrote: On Thursday, November 17, 2016 2:08:30 PM CET Sudeep Holla wrote: On 17/11/16 13:50, Arnd Bergmann wrote: On Thursday, November 17, 2016 11:50:50 AM CET Sudeep Holla wrote: Currently platforms/drivers needing to get the machine model name are replicati

Re: [RFC PATCH] of: base: add support to get machine model name

2016-11-17 Thread Sudeep Holla
On 17/11/16 13:50, Arnd Bergmann wrote: On Thursday, November 17, 2016 11:50:50 AM CET Sudeep Holla wrote: Currently platforms/drivers needing to get the machine model name are replicating the same snippet of code. In some case, the OF reference counting is either missing or incorrect. This p

Re: [RFC PATCH] of: base: add support to get machine model name

2016-11-17 Thread Arnd Bergmann
On Thursday, November 17, 2016 11:50:50 AM CET Sudeep Holla wrote: > Currently platforms/drivers needing to get the machine model name are > replicating the same snippet of code. In some case, the OF reference > counting is either missing or incorrect. > > This patch adds support to read the machi