Re: [PATCH v2 1/2] Input: tegra-kbc- Convert to devm_ioremap_resource()

2013-02-03 Thread Sachin Kamat
Hi Greg, On 1 February 2013 15:37, Sachin Kamat wrote: > Use the newly introduced devm_ioremap_resource() instead of > devm_request_and_ioremap() which provides more consistent error handling. > > devm_ioremap_resource() provides its own error messages; so all explicit > error messages can be

Re: [PATCH v2 1/2] Input: tegra-kbc- Convert to devm_ioremap_resource()

2013-02-03 Thread Sachin Kamat
Hi Greg, On 1 February 2013 15:37, Sachin Kamat sachin.ka...@linaro.org wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error

Re: [PATCH v2 1/2] Input: tegra-kbc- Convert to devm_ioremap_resource()

2013-02-01 Thread Thierry Reding
On Fri, Feb 01, 2013 at 03:37:56PM +0530, Sachin Kamat wrote: > Use the newly introduced devm_ioremap_resource() instead of > devm_request_and_ioremap() which provides more consistent error handling. > > devm_ioremap_resource() provides its own error messages; so all explicit > error messages can

[PATCH v2 1/2] Input: tegra-kbc- Convert to devm_ioremap_resource()

2013-02-01 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() 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: Sachin Kamat

[PATCH v2 1/2] Input: tegra-kbc- Convert to devm_ioremap_resource()

2013-02-01 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() 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: Sachin Kamat

Re: [PATCH v2 1/2] Input: tegra-kbc- Convert to devm_ioremap_resource()

2013-02-01 Thread Thierry Reding
On Fri, Feb 01, 2013 at 03:37:56PM +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error messages can be