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 4e98a9a..9e4ba68 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -202,7 +202,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; @@ -348,7 +348,7 @@ void musb_g_tx(struct musb *musb, u8 epnum) } } - txstate(musb, to_musb_request(request)); + do_pio_tx(musb, to_musb_request(request)); } } while (0); @@ -359,7 +359,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) { u16 csr = 0; const u8 epnum = req->epnum; @@ -449,7 +449,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 ", @@ -691,9 +691,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.4.2.253.g0b1fac -- 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