Re: [PATCH] of: add devres version of of_iomap

2012-08-30 Thread Rob Herring
a; devicetree-disc...@lists.ozlabs.org; linux- >>> ker...@vger.kernel.org >>> Subject: Re: [PATCH] of: add devres version of of_iomap >>> >>> On 08/30/2012 10:32 AM, Murali Karicheri wrote: >>>> This adds devres version of the of_iomap() to allow resource t

RE: [PATCH] of: add devres version of of_iomap

2012-08-30 Thread Karicheri, Muralidharan
>> -Original Message- >> From: Rob Herring [mailto:robherri...@gmail.com] >> Sent: Thursday, August 30, 2012 2:27 PM >> To: Karicheri, Muralidharan >> Cc: grant.lik...@secretlab.ca; devicetree-disc...@lists.ozlabs.org; linux- >> ker...@vger.kernel.org &g

Re: [PATCH] of: add devres version of of_iomap

2012-08-30 Thread Rob Herring
On 08/30/2012 10:32 AM, Murali Karicheri wrote: > This adds devres version of the of_iomap() to allow resource to be cleaned > through devres. If you have a struct device, then don't you already have a resource and can just use devm_ioremap in a driver? New drivers should not be using of_iomap. R