Received: by 2002:a17:90a:37a3:0:0:0:0 with SMTP id v32csp769365pjb; Fri, 21 Jun 2019 08:14:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWv7UQlSu6M1ZiUd43i+gmttO7B4pxCO5Nxy1IZ+xQLBHTTemRVVHpCypsj6taKI4zNQDy X-Received: by 2002:a63:1b66:: with SMTP id b38mr18905167pgm.54.1561130096986; Fri, 21 Jun 2019 08:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561130096; cv=none; d=google.com; s=arc-20160816; b=OQVJBr9dR2xfv/MyHVtQFQHfAt3vTH7YvMwhgIjSg/+kh+KuhKDeYJKFq1SyereBsy KBQiCEx/G7C6AUrPD0tH5EYTW6hgDmJyclvAnKP/efG+x6ZFgGlOr1sgiVs8RXE+gcn0 Jmw8CUoy2Ey+Rxz9Y0a/Jy/Uh9TKkw+Mj8ZXNS7NPNIuG25WPyjEDzBfhxO11SIFqt2x U8kPnE/vfcQSPbGIUdpgmysdpXDf+/q38UJDsMc4OfMzYJJlfpblgk8Dl+zFYpwOFAy4 6U7nBX6/zt6IZCNOrDodJq4bfmrEXxdEMCMNzspw2TvxWLGNCE0HrO9WDp76Iibggsop O0oA== 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=D1L+5OgsoCs/Y5oa5UVHHnNtdt7om2AYqhwfcRpZ5cw=; b=eWfhvg4GqXTRUmKIk29fO10LNXohjRGbwiJYesuj8PUnJm4Lx1VbfErrm4RKFmGeT7 OyCKQ4/BSTf9sp9Gaur21VXKiWw+JyfwVOt+FuY1Dkuv7kd1CTKGs//k2b5OSrxvX7VM HFlicyGJH+Z8L55uNUwrtbAHxPvr9ObWK8Ya6/yqkXpLc0NNaF6A36UCM7xB0Fd/+wkk 45Xz8rL6E50qk4TD+enTEoxsilHGFh/7zcwAU+78UgzCjudq3NKYWXpLOHQZEdgEQJbY WSrhn09Sxa19ikp+yUcQ33MJmGwr7fcpaUeUP0vEy3e/kT9tdLBSHqAuUa7cRGcSAeaj 4U0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gH08pGvt; 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 j3si2945078pjt.79.2019.06.21.08.14.41; Fri, 21 Jun 2019 08:14:56 -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=gH08pGvt; 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 S1726121AbfFUPOf (ORCPT + 99 others); Fri, 21 Jun 2019 11:14:35 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:32793 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbfFUPOf (ORCPT ); Fri, 21 Jun 2019 11:14:35 -0400 Received: by mail-pf1-f196.google.com with SMTP id x15so3780090pfq.0; Fri, 21 Jun 2019 08:14:34 -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=D1L+5OgsoCs/Y5oa5UVHHnNtdt7om2AYqhwfcRpZ5cw=; b=gH08pGvtNsQ+WQcRdl6g0glrNBW2WH4cfDf3/RJtRPKt0u2ujl3NLToFiq7QuUd0mQ +lNYvRSrCDz1YsxH7bhjMKeotLSmgnfH7YwsDE7wAIunMTk8Zvj50MiGX/vFuriJKk2U AOP7806mzxJl+G7rZkOg66yygnYbLLRxmHKhB0HxJlJYteGGb0FIy/DzTf4pk9yH95bA 7IcU7n7uIx8p7zbOgKpnQhX8FLzs38W6UzAEZ92ybuaF34ySQ88fGjdEO+ccoRtSA/CC TP0wIz0wwH94V4JVyudpbjm/p9LMWcfP3HGKzNZrgjsCG1zGuPi8eqX6TcwKB8OVlOl5 E9tA== 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=D1L+5OgsoCs/Y5oa5UVHHnNtdt7om2AYqhwfcRpZ5cw=; b=RUPHYSXBCAR410kn6HzXBQ7a8QBFgkO/qLwALGShVO6eDkDz1O4u9mI30wNLNw4kew Vnf65vEG8QhD8iVY6eNgzxS71X1fTjTtBjppEV84X1XlmhTGi62/wp0CbWr+l9s5RRFe deBMgq5cSkSvx/5AGGlR6vuCHJOLaRG7RalvTKKEXlx6zn+7aGziI6ctajkSKBzsaVbO fdzbrO9+I5ihus7bwJq836JxJRPiEdxnuClX7+uYhwAd/1vHT328+x47Aap9+TdZyayO vsHtDycUIZ5yNnpHBzeT90lSuTqhrQP7wv0jN+BHGW+DmdY0kdBoeBZee9ptwxryl5Dm fVDw== X-Gm-Message-State: APjAAAVF3S8Akh4RWDh8jqZ0F7nYgeG+ldnH0q1D6vTFTEaxcNyCojeg myyjL9k1AECIILkhU93Kdis= X-Received: by 2002:a65:56cc:: with SMTP id w12mr5892499pgs.382.1561130074417; Fri, 21 Jun 2019 08:14:34 -0700 (PDT) Received: from localhost.localdomain ([112.196.181.13]) by smtp.googlemail.com with ESMTPSA id 25sm3254465pfp.76.2019.06.21.08.14.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 21 Jun 2019 08:14:33 -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, Stephen Hemminger Subject: [PATCH v4 0/3] net: fddi: skfp: Use PCI generic definitions instead of private duplicates Date: Fri, 21 Jun 2019 20:44:12 +0530 Message-Id: <20190621151415.10795-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 some of the generic PCI definitons, which are included from pci_regs.h and thier private versions are removed from skfbi.h with all other private defines. The skfbi.h defines PCI_REV_ID and other private defines with different names, these are renamed to Generic PCI names to make them compatible with defines in pci_regs.h. All unused defines are removed from skfbi.h. Changes in v4: Removed unused PCI definitions which were left in v3 Changes in v3: Renamed all local PCI definitions to Generic names. Corrected coding style mistakes. Changes in v2: Converted individual patches to a series. Made sure that individual patches build correctly Puranjay Mohan (3): net: fddi: skfp: Rename local PCI defines to match generic PCI defines net: fddi: skfp: Include generic PCI definitions net: fddi: skfp: Remove unused private PCI definitions drivers/net/fddi/skfp/drvfbi.c | 3 +- drivers/net/fddi/skfp/h/skfbi.h | 217 +------------------------------- 2 files changed, 6 insertions(+), 214 deletions(-) -- 2.21.0