]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usb: phy: omap-usb3: Convert to devm_ioremap_resource()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 4 Mar 2013 08:35:42 +0000 (14:05 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Mar 2013 11:08:48 +0000 (13:08 +0200)
commit862421da0d82a3c35aa89e040a533f76d24c62c4
treecc2de3bfdfe27bed3aa0bcdb8f66232fb9deedcd
parenta40070410329fb704aedf9451732ffb92a3fe39f
usb: phy: omap-usb3: Convert to devm_ioremap_resource()

Use the newly introduced devm_ioremap_resource() instead of
devm_request_and_ioremap() 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.

Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/omap-usb3.c