Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Peter Ujfalusi
Hi, On 03/11/2013 04:58 PM, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Silviu Popescu
On Tue, Mar 12, 2013 at 10:16 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: Hi, On 03/11/2013 04:58 PM, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling.

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Peter Ujfalusi
On 03/12/2013 09:24 AM, Silviu Popescu wrote: As far as I can tell from the mails that you have provided, those patches replace devm_request_mem_region(), followed by devm_ioremap() with devm_request_and_ioremap(). What this patch attempts to do is replace devm_request_and_ioremap() with the

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Peter Ujfalusi
On 03/11/2013 04:58 PM, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Mark Brown
On Mon, Mar 11, 2013 at 05:58:57PM +0200, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error

[PATCH] omap: convert to devm_ioremap_resource()

2013-03-11 Thread Silviu-Mihai Popescu
Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be removed from the failure code paths. Signed-off-by:

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-11 Thread Jarkko Nikula
Hi On 03/11/2013 05:58 PM, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be