Re: [PATCH 1/2] mfd: omap-usb-host: Convert to devm_ioremap_resource()

From: Sachin Kamat
Date: Tue Apr 09 2013 - 06:23:25 EST


Hi Samuel,

On 9 April 2013 15:43, Samuel Ortiz <sameo@xxxxxxxxxxxxxxx> wrote:
> Hi Sachin,
>
> On Thu, Apr 04, 2013 at 03:15:14PM +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 removed from the failure code paths.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
>> Cc: Roger Quadros <rogerq@xxxxxx>
>> ---
>> drivers/mfd/omap-usb-host.c | 9 ++++-----
>> 1 file changed, 4 insertions(+), 5 deletions(-)
> The 2 patches make sense to me, but they don't apply cleanly on top of
> mfd-next. Would you mind sending me a rebased version ?

Sure, I will.


--
With warm regards,
Sachin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/