[PATCH v3 0/6] usb: xhci: get rid of xhci_plat_type_is()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This 6-patch series gets rid of the pointless
xhci_plat_type_is() in favour of a nicer setup where
we initialize function pointers ahead of time using
driver_data. That way we help the code look a little
cleaner and easier to read.

Changes since v2:
   - rebased on v4.6-rc4
   - fixed another compile error because of some fix
     that went it during this rc.

Felipe Balbi (6):
  usb: host: xhci: rcar: retire use of xhci_plat_type_is()
  usb: xhci: plat: add ->plat_start() and ->init_quirk() methods
  usb: host: xhci: plat: move mvebu init_quirk() to xhci_plat_setup()
  usb: host: xhci: plat: change type of mvebu init_quirk()
  usb: host: xhci: plat: make use of new methods in xhci_plat_priv
  usb: host: xhci: plat: finally get rid of xhci_plat_type_is()

 drivers/usb/host/xhci-mvebu.c |  7 ++++-
 drivers/usb/host/xhci-mvebu.h |  7 +++--
 drivers/usb/host/xhci-plat.c  | 60 ++++++++++++++++++++-----------------------
 drivers/usb/host/xhci-plat.h  | 20 ++-------------
 drivers/usb/host/xhci-rcar.c  | 34 +++++++++++++++++++++++-
 5 files changed, 74 insertions(+), 54 deletions(-)

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux