usb: otg: prefix otg_state_string with usb_
all other functions under drivers/usb/ start with usb_, let's do the same thing. This patch is in preparation for moving otg_state_string to usb-common.c and deleting otg.c completely. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
@@ -95,7 +95,7 @@ static void musb_port_suspend(struct musb *musb, bool do_suspend)
|
||||
break;
|
||||
default:
|
||||
dev_dbg(musb->controller, "bogus rh suspend? %s\n",
|
||||
otg_state_string(musb->xceiv->state));
|
||||
usb_otg_state_string(musb->xceiv->state));
|
||||
}
|
||||
} else if (power & MUSB_POWER_SUSPENDM) {
|
||||
power &= ~MUSB_POWER_SUSPENDM;
|
||||
@@ -203,7 +203,7 @@ void musb_root_disconnect(struct musb *musb)
|
||||
break;
|
||||
default:
|
||||
dev_dbg(musb->controller, "host disconnect (%s)\n",
|
||||
otg_state_string(musb->xceiv->state));
|
||||
usb_otg_state_string(musb->xceiv->state));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user