summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-11-15 05:34:07 +0200
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-12-02 12:59:49 -0800
commit204b7793f2a9935e9a08524d0b4bb51b990d518e (patch)
tree144bfdb254d93cb60beb49652bf9dc80343df3d9 /drivers/virt
parentb0ba9720846c980d053b1ffcd766fddfbef95d4c (diff)
downloadblackbird-op-linux-204b7793f2a9935e9a08524d0b4bb51b990d518e.tar.gz
blackbird-op-linux-204b7793f2a9935e9a08524d0b4bb51b990d518e.zip
xhci: replace xhci_writel() with writel()
Function xhci_writel() is used to write a 32bit value in 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_writel() internally simply calls writel(). This creates an illusion that xhci_writel() is an xhci specific function that has to be called in a context where a pointer to xhci_hcd is available. Remove xhci_writel() wrapper function and replace its calls with calls to writel() to make the code more straight-forward. Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud