Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2239641ybi; Thu, 20 Jun 2019 11:25:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqywQKoCYDPFolTPjtelnMXx8v2WkrmV/5uey30Z2OBn6tStO0H0DjTzfOwDljjm9r2iGKy3 X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr113760945plr.73.1561055113023; Thu, 20 Jun 2019 11:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561055113; cv=none; d=google.com; s=arc-20160816; b=uJRLW4DlEbgjUTNxRAXscPAALsF9tNU9S7L+DwXq1cukbsvGvaEo1w3UZ2dHe5E2Mh 89ENufH8VBvOD5VQ7KzpfNqoCSVsRU0MC1Zh++AWOSMlNjIVIzBU4cmXjTQMNzd72Tnx t6aGBLtHUqfdy5dlHi2SLwAyfmKKFst4NWCvOBCbniwCxWBFZa0/WY5SheY8QSeOmpfi Dck4cGluTdvxAbgQW5g41ZAqRtkra/6NEsQ15SUdlEbnnLJ2d+ceM6Hurg47YFjcUgg9 foZ8dWtecL31h8VHshaR16YLoK+WtczB3P7FOfPKdzmm/1brJjxp7g3FIBr8qmahqOhQ W8MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=m48O7FRi8r+gWyNb3X9q+djqhmJvKoGCXjsAReJFTG8=; b=NE+/hlakmKiO5JyZ+xMCvQfq+l/ZTnGfaplrQeAS3/s0R3EQviaCw8e1TWoL2DjAIc r0gxHh2uljTWYT932qzQWagonEDNFF85ChOWTLCD+kELU8BSrdUlBfKPwsApDmUSk+ER dmF9aN/FWBd/MicPEE2SHKDFCEP4arucH1Y6OJ0/SrMunZL2r1M+lyYq2PHMKFCe4JB+ Au45Vdhj6e/W4dFN15LHsnNg+YVwQBMgJzRtKITpGbkIeJJ2gJzIl4G1PgDANPUlfxRr 0FUIses0KHPuyJbvwxPx3FWGdBCBGAR7lAzW4ufS+SGDI8umJTzx/7IqHex3k1WdBKU0 5MBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oOdnCN4k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92si405768plc.217.2019.06.20.11.24.58; Thu, 20 Jun 2019 11:25:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oOdnCN4k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728512AbfFTSIi (ORCPT + 99 others); Thu, 20 Jun 2019 14:08:38 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:34854 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728486AbfFTSId (ORCPT ); Thu, 20 Jun 2019 14:08:33 -0400 Received: by mail-pl1-f195.google.com with SMTP id p1so1714179plo.2; Thu, 20 Jun 2019 11:08:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=m48O7FRi8r+gWyNb3X9q+djqhmJvKoGCXjsAReJFTG8=; b=oOdnCN4kibi8UdpRROgkAuatPNdLADRR5vMRpA6WbXvPjlpFyAcbAvd+0xqxUgV0h4 SPHGlofI0JU1zboGi/T4cSFHDikLE4dLIa+UrDbLWwGfBNsXb0EIBv3OXMhrHideSCX8 Kb/QgY2rEsAhiBZ36H5UvnIllETIYM2WsQ6jjCfaq24hyHxENTBazYfnFpMVCOdIMGTd O6siub7W7CNaF82pTIdXx19jyJQuKAIwIIOiXiKYK9G6ZN1WO5ZbTl5XEoYVRDtKBFqH BGtOYJDCygj5v/Z6yrMKy2PPJ5KhcAaQSYwIuSsEKZZRbTn1JMWpLHCSCJVjA7iczOQe AcsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=m48O7FRi8r+gWyNb3X9q+djqhmJvKoGCXjsAReJFTG8=; b=m7MoS/svtJEZO0SM70Ig6QTVW/3udszz9J7XmKHyD2FHlz5E5rKIkT0fRtViyTyDx3 CUNrXFQVsTFGTd4DDOivw4fldX8ObRYh9hFNAMM3u/nhNkZqdFAXhO/rvzvVpnOxlTML wGLfsKXYfcB5RFmHuu/9t/ADPPffV49k3vbeFTqRiKlxtPy9vMDwsOrOu4uL4ovinQyd ETtpspNezdI6iqRGYFw+2nhCaCkfoIGbGNrY2ZUANxLrMjF40LW2IGrx81/A3WZq3e3r 2O/rmKEEfepUlu2aSoKdiCdf333EbYiZuU2bwKWg78fPLblAbwb0shynaczRbzKp4HZR A+CA== X-Gm-Message-State: APjAAAUhpVIKdYKVCKaPIepvxqs3sBWsusRPw4HJcY/RI/8xk5vDOCsL DLImU6ts/4QZboIjlK5MLNA= X-Received: by 2002:a17:902:7883:: with SMTP id q3mr124656755pll.89.1561054112215; Thu, 20 Jun 2019 11:08:32 -0700 (PDT) Received: from localhost.localdomain ([112.196.181.13]) by smtp.googlemail.com with ESMTPSA id 85sm289016pgb.52.2019.06.20.11.08.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 11:08:31 -0700 (PDT) From: Puranjay Mohan To: Shuah Khan Cc: Puranjay Mohan , Bjorn Helgaas , netdev , Linux Kernel Mailing List , linux-kernel-mentees@lists.linuxfoundation.org, linux-pci@vger.kernel.org Subject: [PATCH v2 0/3] net: fddi: skfp: Use PCI generic definitions instead of private duplicates Date: Thu, 20 Jun 2019 23:37:51 +0530 Message-Id: <20190620180754.15413-1-puranjay12@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series removes the private duplicates of PCI definitions in favour of generic definitions defined in pci_regs.h. This driver only uses one of the generic PCI definitons, i.e. PCI_REVISION_ID, which is included from pci_regs.h and its private version is removed from skfbi.h with all other private defines. The skfbi.h defines PCI_REV_ID which is renamed to PCI_REVISION_ID in drvfbi.c to make it compatible with the generic define in pci_regs.h. Puranjay Mohan (3): net: fddi: skfp: Rename PCI_REV_ID to PCI_REVISION_ID net: fddi: skfp: Include generic PCI definitions net: fddi: skfp: Remove unused private PCI definitions drivers/net/fddi/skfp/drvfbi.c | 4 +- drivers/net/fddi/skfp/h/skfbi.h | 207 +------------------------------- 2 files changed, 3 insertions(+), 208 deletions(-) -- 2.21.0