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

Alexander Shiyan shc_work at mail.ru
Sat May 10 07:25:56 PDT 2014


Sat, 10 May 2014 17:30:04 +0530 от Vivek Gautam <gautam.vivek at samsung.com>:
> 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.

---



More information about the linux-arm-kernel mailing list