From: Arnaud Mandy <ext-arnaud.2.mandy@xxxxxxxxx> renaming txstate and rxstate to do_pio_tx and do_pio_rx Signed-off-by: Arnaud Mandy <ext-arnaud.2.mandy@xxxxxxxxx> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> --- drivers/usb/musb/musb_gadget.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 41f0406..eb1b765 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -203,7 +203,7 @@ static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) * * Context: controller locked, IRQs blocked, endpoint selected */ -static void txstate(struct musb *musb, struct musb_request *req) +static void do_pio_tx(struct musb *musb, struct musb_request *req) { u8 epnum = req->epnum; struct musb_ep *musb_ep; @@ -345,7 +345,7 @@ void musb_g_tx(struct musb *musb, u8 epnum) request = next_request(musb_ep); } - txstate(musb, to_musb_request(request)); + do_pio_tx(musb, to_musb_request(request)); } } @@ -354,7 +354,7 @@ void musb_g_tx(struct musb *musb, u8 epnum) /* * Context: controller locked, IRQs blocked, endpoint selected */ -static void rxstate(struct musb *musb, struct musb_request *req) +static void do_pio_rx(struct musb *musb, struct musb_request *req) { const u8 epnum = req->epnum; struct usb_request *request = &req->request; @@ -451,7 +451,7 @@ void musb_g_rx(struct musb *musb, u8 epnum) /* analyze request if the ep is hot */ if (request) - rxstate(musb, to_musb_request(request)); + do_pio_rx(musb, to_musb_request(request)); else DBG(3, "packet waiting for %s%s request\n", musb_ep->desc ? "" : "inactive ", @@ -692,9 +692,9 @@ static void musb_ep_restart(struct musb *musb, struct musb_request *req) musb_ep_select(musb->mregs, req->epnum); if (req->tx) - txstate(musb, req); + do_pio_tx(musb, req); else - rxstate(musb, req); + do_pio_rx(musb, req); } static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req, -- 1.6.6.rc0 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html