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 <sachin.kamat@xxxxxxxxxx> > Cc: Kishon Vijay Abraham I <kishon@xxxxxx> > --- > drivers/usb/phy/omap-control-usb.c | 24 +++++++++--------------- > 1 files changed, 9 insertions(+), 15 deletions(-) Reviewed-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
Attachment:
pgpwvcy4uO4ZX.pgp
Description: PGP signature