Re: [PATCH v2 0/6] usb: host: Cleanup for ioremap'ing hcd memory
From: Vivek Gautam
Date: Sun May 11 2014 - 10:45:57 EST
Hi,
On Sat, May 10, 2014 at 7:55 PM, Alexander Shiyan <shc_work@xxxxxxx> wrote:
> Sat, 10 May 2014 17:30:04 +0530 ÐÑ Vivek Gautam <gautam.vivek@xxxxxxxxxxx>:
>> Based on 'usb-next' branch of Greg's usb tree.
>>
>> devm_ioremap_resource() API is advantageous over devm_ioremap()
>> and should therefore be preferred to request any ioremap'ed address
>> for hcd.
>>
>> Changes from v1:
>> - Changed the way returned pointer is checked for error value
>> as pointed out in the review comment in the mailing list.
>
> hcd->rsrc_len field can be removed entirely, since I cannot find any reason
> how this filed can be used in the drivers now.
> This is of course should be in an another series. This one looks good.
True, even i noticed the same, since after grep'ing for rsrc_len. i
could not find any mention in the
USB layer.
Will send that as a separate patch-series.
--
Best Regards
Vivek Gautam
Samsung R&D Institute, Bangalore
India
--
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/