xhci_readl() doesn't differ from readl(), but for uniformity, use
xhci_ prefixed accessors throughout.

No functional change.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 drivers/usb/host/xhci-mem.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index c49693bd9f1b..915b083bfd1d 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -440,9 +440,9 @@ static struct xhci_container_ctx
        BUG_ON((type != XHCI_CTX_TYPE_DEVICE) && (type != XHCI_CTX_TYPE_INPUT));
        ctx->type = type;
        ctx->size = (MAX_EP_CTX_NUM + 1) *
-                       CTX_SIZE(readl(&ctrl->hccr->cr_hccparams));
+                       CTX_SIZE(xhci_readl(&ctrl->hccr->cr_hccparams));
        if (type == XHCI_CTX_TYPE_INPUT)
-               ctx->size += CTX_SIZE(readl(&ctrl->hccr->cr_hccparams));
+               ctx->size += CTX_SIZE(xhci_readl(&ctrl->hccr->cr_hccparams));
 
        ctx->bytes = xhci_malloc(ctrl, ctx->size);
 
@@ -646,7 +646,7 @@ struct xhci_slot_ctx *xhci_get_slot_ctx(struct xhci_ctrl 
*ctrl,
                return (struct xhci_slot_ctx *)ctx->bytes;
 
        return (struct xhci_slot_ctx *)
-               (ctx->bytes + CTX_SIZE(readl(&ctrl->hccr->cr_hccparams)));
+               (ctx->bytes + CTX_SIZE(xhci_readl(&ctrl->hccr->cr_hccparams)));
 }
 
 /**
@@ -668,7 +668,7 @@ struct xhci_ep_ctx *xhci_get_ep_ctx(struct xhci_ctrl *ctrl,
 
        return (struct xhci_ep_ctx *)
                (ctx->bytes +
-               (ep_index * CTX_SIZE(readl(&ctrl->hccr->cr_hccparams))));
+               (ep_index * CTX_SIZE(xhci_readl(&ctrl->hccr->cr_hccparams))));
 }
 
 /**
-- 
2.39.2


Reply via email to