ohci-pci: use USB_DT_*
Subsystems (2)
PATCH 1/1 ohci-pci: use USB_DT_*
Toshiba Portege 4000 quirk entry can be written shorter using the PCI_DEVICE_SUB() macro.
Signed-off-by Sergei Shtylyov <[email protected]>
---
The patch is against the 'usb-next' branch of Greg KH's 'usb.git' repo.
drivers/usb/host/ohci-pci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/usb/host/ohci-pci.c +2 -4
@@ -192,10 +192,8 @@ static const struct pci_device_id ohci_p }, {/* Toshiba portege 4000 */ - .vendor = PCI_VENDOR_ID_AL, - .device = 0x5237, - .subvendor = PCI_VENDOR_ID_TOSHIBA, - .subdevice = 0x0004, +PCI_DEVICE_SUB (PCI_VENDOR_ID_AL ,0x5237 , + PCI_VENDOR_ID_TOSHIBA, 0x0004), .driver_data = (unsigned long) broken_suspend, }, {
Hello.
Quoted 4 lines · Sergei Shtylyov
Toshiba Portege 4000 quirk entry can be written shorter using the
PCI_DEVICE_SUB()macro.Signed-off-by Sergei Shtylyov <[email protected]>
Oops, wrong subject. I'll resend. :-<
MBR, Sergei