summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2020-07-23 16:45:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-23 17:05:26 +0200
commit985247fe4c524eeffd94e7af486ffa6cc9a2fc53 (patch)
treeb589cafe38b73b212b47b272ff1a512e2f60a706 /drivers/nvdimm
parentxhci: dbc: Add device pointer to dbc structure (diff)
downloadlinux-985247fe4c524eeffd94e7af486ffa6cc9a2fc53.tar.xz
linux-985247fe4c524eeffd94e7af486ffa6cc9a2fc53.zip
xhci: dbc: Use dev_info() and similar instead of xhci_info()
To make this change possible we also need to change dbc_handle_port_status() to take dbc pointer as parameter instead of xhci_hcd pointer. Note that xhci_info() used xhci_to_hcd(xhci)->self.controller as the device while for dev_info we use xhci_to_hcd(xhci)->self.sysdev. In many cases those are the same, but not for some device where a dwc3 controller creates a xhci platform device. In th this case self.controller may be the platform device while self.sysdev is the actual device known to firmware (dwc3). This change helps decoupling xhci and DbC Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20200723144530.9992-9-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions