OSDN Git Service

usb: host: xhci: rcar: retire use of xhci_plat_type_is()
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 22 Apr 2016 10:17:12 +0000 (13:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2016 23:08:02 +0000 (16:08 -0700)
commit2dc240a3308b269ac344036e2f41fc48532c2f04
tree3541bea08f47213bf592f5e648254a0116558637
parent78140156f47ed8a9b07fd6a5766d03d3d837aaca
usb: host: xhci: rcar: retire use of xhci_plat_type_is()

We're preparing to remove xhci_plat_type_is() in
favor of a better approach where we define function
pointers ahead of time. This will let us make
assumptions about which platforms we're running on
and which platform-specific functions we should call.

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
[delete extra comma in function parameters -Mathias]
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-rcar.c