usb: Convert to devm_ioremap_resource()
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 21 Jan 2013 10:09:22 +0000 (11:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 19:41:58 +0000 (11:41 -0800)
commit148e11349b0c9c7199fd3096254bd3ea16d59a05
tree48fa3e59a152ad95b4e545e1e623c3e442653d53
parenteb612fa013ca07b954300fa46b1499248cedf926
usb: Convert to devm_ioremap_resource()

Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() 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: Thierry Reding <thierry.reding@avionic-design.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 files changed:
drivers/usb/chipidea/usbmisc_imx6q.c
drivers/usb/gadget/bcm63xx_udc.c
drivers/usb/gadget/s3c-hsotg.c
drivers/usb/gadget/s3c-hsudc.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-grlib.c
drivers/usb/host/ehci-mxc.c
drivers/usb/host/ehci-platform.c
drivers/usb/host/ehci-ppc-of.c
drivers/usb/host/ehci-sead3.c
drivers/usb/host/ehci-sh.c
drivers/usb/host/ehci-vt8500.c
drivers/usb/host/ehci-xilinx-of.c
drivers/usb/host/ohci-nxp.c
drivers/usb/host/ohci-platform.c
drivers/usb/host/ohci-s3c2410.c
drivers/usb/musb/musb_dsps.c
drivers/usb/musb/omap2430.c
drivers/usb/otg/mxs-phy.c
drivers/usb/phy/mv_u3d_phy.c
drivers/usb/phy/omap-usb2.c
drivers/usb/renesas_usbhs/common.c