summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-grlib.c
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-11-15 03:18:08 +0200
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-12-02 12:59:48 -0800
commit2a100047481a5c7430c72883b586eb6f2df34812 (patch)
tree3e6abe7a97077511dbf49f519dd256515bb0deb3 /drivers/usb/host/uhci-grlib.c
parent78d1ff025698e1a70e3fef38342648d4dc826cf6 (diff)
downloadblackbird-op-linux-2a100047481a5c7430c72883b586eb6f2df34812.tar.gz
blackbird-op-linux-2a100047481a5c7430c72883b586eb6f2df34812.zip
xhci: remove conversion from generic to pci device in xhci_mem.c
This patch removes the to_pci_dev() conversion performed to generic struct device since it is not actually useful (the pointer to the generic device can be used directly rather through a conversion to pci_dev) and it is pci bus specific. This isn't stable material because this code will produce harmless behavior on non-PCI xHCI hosts. The pci_device pointer is never dereferenced, only used to re-calculate the underlying device pointer. Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/uhci-grlib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud