Re: [PATCH v2 0/6] usb: host: Cleanup for ioremap'ing hcd memory

From: Alexander Shiyan
Date: Sat May 10 2014 - 10:26:35 EST


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.

---