Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1281180imm; Fri, 8 Jun 2018 13:12:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLsOJCtTXHVUT8rwc3QUGuv/tNUBu6f2eLHIddoaHzxN5X4FEVZnG784uFH+PMRAUTLQmHs X-Received: by 2002:a17:902:5602:: with SMTP id h2-v6mr3318333pli.314.1528488762140; Fri, 08 Jun 2018 13:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528488762; cv=none; d=google.com; s=arc-20160816; b=Ro091YbP0C+SouuL8XCRV/Wo5hfFlvJ8/Q0eJjq4l49qjCfsAEsi5pakZjvpgdX6/Y oHpX/EPdYzLuuO/5x85yNbWGO6J3nwJJWjh2dfMXiLfQLPwpTcQX4kUZopCRD6Spt8wg iQ/H0tC67j50AYv5NnSUk+bmeOCMjyTuLuaUQPdq07TjIop89XxSY4wvJfVv0uLv5pA6 o2dE9nKBp3O0GHBtXP+gVtwaVC2QL8xQqvC8hiEIQVCFO61PFLEUWXtpiSCVM1JsLyhZ JIr5SstIFNHcpqAmIy76MBrS42qBAIlguBk/i2qqVq34NpHrTD6NHJsNbxeT33Wvjtqz gGRA== 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 :user-agent:message-id:date:cc:to:from:subject:dkim-signature :arc-authentication-results; bh=Q9SszupqAIb+x9Vuw4QdkoEv4KhfduUqymtQ/gCUvjM=; b=LWNRTgiqBbQ/3UFenYjKm7N1SyHb6JhtvpBS7+MllHZYnhFST8zF3FdOxXFpFL49ZP ZzqoHd063ypT+Gf/we70Ak4chxGC6iNH8XJBjFQcLdF5yUnzDImmlsB8hgLgHcyi6f29 JwXCFRyHKiSqFSQpcIsPxxpt0GF0PjNwphEarqSVLnHt0RCFbJZTUtP2rtsvbFqW2gjS sEGEGiib8IVAU2VImHWmCgmJHMFyG/yjFO54UCcFMsCeLRvjQcmZOEgiByyKq3kzWeW4 b0n2/hmS1XdRxhnFyOS/pjnkynO10JzWKcHfrUsC913/F3r/Ac0TfhSR6UM3AgQG8HRY GBWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XECFSpx0; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i4-v6si9630236pgq.202.2018.06.08.13.12.27; Fri, 08 Jun 2018 13:12:42 -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=@kernel.org header.s=default header.b=XECFSpx0; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752793AbeFHUMD (ORCPT + 99 others); Fri, 8 Jun 2018 16:12:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:51166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752676AbeFHUMC (ORCPT ); Fri, 8 Jun 2018 16:12:02 -0400 Received: from localhost (unknown [150.199.191.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB8A9206B7; Fri, 8 Jun 2018 20:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528488721; bh=9GGfx1XtxYqqKm6GYFeF5giQdtAFRVNje2CuH/OPu0M=; h=Subject:From:To:Cc:Date:From; b=XECFSpx0PULkvIvon4r2VDckoEuXDNxLUzDs+b45Q81X6zMkQv5dEE8Crew9LR2Fg 71pL6nzpAL95rBzTxijvLNjuD/3opqtOc0IIc00WL75s0PCitJBmAcxOiUVo4aB2mw RLTGuohIwvL/hSOtbajSZ2NyCe3jBWbn+21SuVag= Subject: [RFC PATCH v1 0/9] PCI/portdrv: Squash into one file From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Oza Pawandeep , linux-kernel@vger.kernel.org Date: Fri, 08 Jun 2018 15:12:00 -0500 Message-ID: <152848853199.14051.12670957565366345798.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The portdrv code is scattered across several files, which makes it a bit of a hassle to browse. Consolidate it all in a single file. This is all pure code moves; no functional changes intended. Well, there is a function rename, but it shouldn't change any behavior. --- Bjorn Helgaas (9): PCI/portdrv: Rename resume_iter() to prevent name collision PCI/portdrv: Squash pieces of portdrv_core.c into portdrv_pci.c PCI/portdrv: Squash PM-related code into portdrv_pci.c PCI/portdrv: Squash device removal code into portdrv_pci.c PCI/portdrv: Squash lookup interfaces into portdrv_pci.c PCI/portdrv: Squash service driver registration into portdrv_pci.c PCI/portdrv: Move private definitions to portdrv_pci.c PCI/portdrv: Clean up whitespace PCI/portdrv: Rename portdrv_pci.c to portdrv.c drivers/pci/pcie/Makefile | 6 drivers/pci/pcie/portdrv.c | 822 +++++++++++++++++++++++++++++++++++++++ drivers/pci/pcie/portdrv.h | 15 - drivers/pci/pcie/portdrv_core.c | 578 --------------------------- drivers/pci/pcie/portdrv_pci.c | 261 ------------ 5 files changed, 824 insertions(+), 858 deletions(-) create mode 100644 drivers/pci/pcie/portdrv.c delete mode 100644 drivers/pci/pcie/portdrv_core.c delete mode 100644 drivers/pci/pcie/portdrv_pci.c