xhci: replace xhci_readl() with readl()
authorXenia Ragiadakou <burzalodowa@gmail.com>
Fri, 15 Nov 2013 03:34:06 +0000 (05:34 +0200)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 2 Dec 2013 20:59:48 +0000 (12:59 -0800)
commitb0ba9720846c980d053b1ffcd766fddfbef95d4c
tree03c170ac268064f2aeb07d37e13c37deee938c8d
parent2a100047481a5c7430c72883b586eb6f2df34812
xhci: replace xhci_readl() with readl()

Function xhci_readl() is used to read 32bit xHC registers residing in MMIO
address space. It takes as first argument a pointer to the xhci_hcd although
it does not use it. xhci_readl() internally simply calls readl(). This creates
an illusion that xhci_readl() is an xhci specific function that has to be
called in a context where a pointer to xhci_hcd is available.

Remove the unnecessary xhci_readl() wrapper function and replace its calls to
with calls to readl() to make the code more straightforward.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-dbg.c
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h
This page took 0.027069 seconds and 5 git commands to generate.