From patchwork Sun Oct 4 21:02:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7324191 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4D2559F1B9 for ; Sun, 4 Oct 2015 21:02:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A430B20881 for ; Sun, 4 Oct 2015 21:02:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B7AB3207EA for ; Sun, 4 Oct 2015 21:02:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751994AbbJDVCn (ORCPT ); Sun, 4 Oct 2015 17:02:43 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:35769 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917AbbJDVCl (ORCPT ); Sun, 4 Oct 2015 17:02:41 -0400 Received: by lackq9 with SMTP id kq9so7367371lac.2 for ; Sun, 04 Oct 2015 14:02:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=eFXlSKVIiSTspp5a7mxx7XIsTa8JNqIGpiyfD19u1GE=; b=cN8nEGist4zvYuUaJw9deLZt1qH69ECAUfLqRTA+baLx6NAhWSWQHG68tgcNW+WkAJ YAkcXVkgddn6b7x0j/euRaU+qO8/yGcJm4svG0mddo00KxRvxAdY/nk1030RmppE5v27 Kp1v8NhzYlenq8VQeOT1puADVe3ebcLWRM+rexPJDx65r8CZEnfrNUxBSs6cjZ7SKLNQ GObNQMgmrWZ4B/jXrtf5KU0HA6SnPGWP5aXX5dLAjzBzv9PF5Yj3pIN9mpC5atwgKrlo mgTTqlF9PnaBG/YJB0LI4BdAEYTrZOEv9m+Hc7IkpRhjTd6yinZkwGPlh3xvslYQSNus +bqQ== X-Gm-Message-State: ALoCoQk0no1akTBi105KKEFgSOB2mfaDi+q0DWFFQ2pOo+LTlcinl/t05eDHa4wWXAMzalg7ewRa X-Received: by 10.112.141.228 with SMTP id rr4mr7609752lbb.48.1443992560423; Sun, 04 Oct 2015 14:02:40 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-255-107.pppoe.mtu-net.ru. [83.237.255.107]) by smtp.gmail.com with ESMTPSA id lc3sm3540168lbc.3.2015.10.04.14.02.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Oct 2015 14:02:39 -0700 (PDT) From: Sergei Shtylyov To: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, balbi@ti.com Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 5/8] dwc3-pci: use PCI_VDEVICE() instead of PCI_DEVICE() Date: Mon, 05 Oct 2015 00:02:38 +0300 Message-ID: <38004664.ldNRYcghgf@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.7-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <60171155.g7UZoV0Hgv@wasted.cogentembedded.com> References: <60171155.g7UZoV0Hgv@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, UPPERCASE_50_75 autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE(). Signed-off-by: Sergei Shtylyov --- drivers/usb/dwc3/dwc3-pci.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: usb/drivers/usb/dwc3/dwc3-pci.c =================================================================== --- usb.orig/drivers/usb/dwc3/dwc3-pci.c +++ usb/drivers/usb/dwc3/dwc3-pci.c @@ -174,16 +174,13 @@ static void dwc3_pci_remove(struct pci_d } static const struct pci_device_id dwc3_pci_id_table[] = { - { - PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, - PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3), - }, - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BSW), }, - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BYT), }, - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_MRFLD), }, - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTLP), }, - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTH), }, - { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_NL_USB), }, + { PCI_VDEVICE(SYNOPSYS, PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3), }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_BSW), }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_BYT), }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_MRFLD), }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_SPTLP), }, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_SPTH), }, + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_NL_USB), }, { } /* Terminating Entry */ }; MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table);