]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: samsung: Convert to devm_ioremap_resource()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 4 Mar 2013 08:35:41 +0000 (14:05 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Mar 2013 11:08:39 +0000 (13:08 +0200)
commitf3d13812aa3c567e84512c32a2dca92758afbaea
tree84ad4959f4e1bd4761cb0d90eb24d32884a654a4
parente985d109e9003c48a13acb8bc4641e4dec049136
usb: phy: samsung: 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>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/samsung-usbphy.c