On Mon, Mar 04, 2013 at 02:05:43PM +0530, Sachin Kamat wrote: > 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. > > Signed-off-by: Sachin Kamat <[email protected]> > Cc: Kishon Vijay Abraham I <[email protected]> > --- > drivers/usb/phy/omap-control-usb.c | 24 +++++++++--------------- > 1 files changed, 9 insertions(+), 15 deletions(-)
Reviewed-by: Thierry Reding <[email protected]>
pgpY3qVaPsu4D.pgp
Description: PGP signature
