Re: [PATCH v2] usb: ehci-mxc: Use devm functions to simplify error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 16 Apr 2012, Fabio Estevam wrote:

> Use devm functions to simplify error handling and also make the code a bit smaller.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
> ---
> Changes since v1:
> - Simplify a bit more by using devm_request_and_ioremap
>  
>  drivers/usb/host/ehci-mxc.c |   41 ++++++++++-------------------------------
>  1 files changed, 10 insertions(+), 31 deletions(-)

It's silly to change just one driver this way.  How about updating all 
the EHCI platform drivers similarly?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux