Revert "usb: host: xhci: Add helper function to return controller id"

This reverts commit 97618148ce.

Remove helper function to return controller id.

Change-Id: I1c0f6cd5600630d77d986f9782e4b83e2919d22b
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
This commit is contained in:
Ajay Agarwal 2018-05-04 10:20:51 +05:30 committed by Gerrit - the friendly Code Review server
parent c342078792
commit 09dc84033d
2 changed files with 0 additions and 9 deletions

View file

@ -5035,13 +5035,6 @@ dma_addr_t xhci_get_xfer_ring_dma_addr(struct usb_hcd *hcd,
return 0;
}
int xhci_get_core_id(struct usb_hcd *hcd)
{
struct xhci_hcd *xhci = hcd_to_xhci(hcd);
return xhci->core_id;
}
static const struct hc_driver xhci_hc_driver = {
.description = "xhci-hcd",
.product_desc = "xHCI Host Controller",
@ -5106,7 +5099,6 @@ static const struct hc_driver xhci_hc_driver = {
.get_sec_event_ring_dma_addr = xhci_get_sec_event_ring_dma_addr,
.get_xfer_ring_dma_addr = xhci_get_xfer_ring_dma_addr,
.get_dcba_dma_addr = xhci_get_dcba_dma_addr,
.get_core_id = xhci_get_core_id,
};
void xhci_init_driver(struct hc_driver *drv,

View file

@ -1948,7 +1948,6 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
char *buf, u16 wLength);
int xhci_hub_status_data(struct usb_hcd *hcd, char *buf);
int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
int xhci_get_core_id(struct usb_hcd *hcd);
#ifdef CONFIG_PM
int xhci_bus_suspend(struct usb_hcd *hcd);