Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4659331pxb; Tue, 28 Sep 2021 00:39:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu5dKdYTDehS4e+ZCwzJ+EV5h1z+ptvbQwQGog2GHJTKU5jPOqxpF+Ut0Fvg9+5DawXxma X-Received: by 2002:a17:906:a0da:: with SMTP id bh26mr5019130ejb.505.1632814768910; Tue, 28 Sep 2021 00:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632814768; cv=none; d=google.com; s=arc-20160816; b=AymUu7upJvSqlMvO0rWfwknnQyBSe74RePReZV5Gdz30u+VQ0+eXmnZT44H3lArR/4 mnejYAuCBpd2x+5xMKCFGxVe8EDvy6ON+bOcXF6g94ZTQfOgBm2a8A6ckDG6QCT2VO/L KkAeRreRmBSKJKK5PPvbtJB6TKAg6m+IovrkzIVAllHs13PeAnjg5c3vlOfqP7z3LRoR a3kQvP6pd7r2i/EGaJHtf+fZT2PPecK7xBwyydUjJArzhmDy7+/va1LASJuEv+9dEoSN iv6Dc7OdJPzOzYOmqMW7zDnnS7pOl/Ac/2DNtxVXAQkm95sIeKkdbThYx9iSmeFmW4s3 PU9w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2cxKgt88oj9Q5tl4ecbspSxZWP93vRSSEjnF4otCNVY=; b=O04+nssxju5fl2Jr6TrA4HiPevz1DXdQutWhcUtpTaT9Cbh05ang4M/4A2onc+eEGb K4LZ8hjoBRwDlSaDyF/QS0K0OgSZTrSICbbi1xPGrSsgiD5PYull+yMhLUITnEa6orsp ejUYnZ7K4k1uuEXVy6UST/DMGU3wChyXc0Z3Db0ISqRYINGUS6031OMlvCNbzn+xxwTS o5yfOceX51nqA1utcrG8bqZM79Lh/OYwWKeifrK4BHY1EQM7r7B+XTlZlJ4e5NElETBy 6JGdifJL44guO8xjozgw4B7MUVzB0LkfEEc+mF75D/7nSHrS4Lb/Le0OcR7mqEcrnt6q lBTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aTNhfm9C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id hr6si4771767ejc.711.2021.09.28.00.39.04; Tue, 28 Sep 2021 00:39:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aTNhfm9C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S239450AbhI1Hgf (ORCPT + 99 others); Tue, 28 Sep 2021 03:36:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:55950 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239344AbhI1HgF (ORCPT ); Tue, 28 Sep 2021 03:36:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7C6FB6127A; Tue, 28 Sep 2021 07:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632814466; bh=L5VBPXPF3a3+JuHK1TGXG2l1hFTKd7XTrWcbAK+XzsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aTNhfm9CJaQDq9vy6VjA/m2g2IxvrB1Y+/B6JnWXt1Sy/KhXKn72GKKhUqkFf/9M9 bu4i/1Uqk/f9JfEsk9TUjr4kUPEinFYLRqhpYivfk+6KSNL3v7Ts/kQ40jvUdTKhqR VmZokhhxEHTESUUecDwLKrXvFg4rUrkC4xwGlziTxPT21mKVoXMfkjhJT6ZwRdNhvn pWFXa13jQosvzcMI99QCFyjLnTnAjLv5WreYZpRZQ11dRDgeytrqr4GoVW5GdiwdM1 NfJeFaVR6Unak6qNz46/lRahFFixTmDig4D7hxfLpFDqTGch9n8gZsQh6lHQlcrQGE QbhU+IRCtl3+g== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mV7dA-000RQF-Qs; Tue, 28 Sep 2021 09:34:24 +0200 From: Mauro Carvalho Chehab To: Bjorn Helgaas Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Binghui Wang , Lorenzo Pieralisi , Rob Herring , Xiaowei Song , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v12 11/11] PCI: kirin: Allow removing the driver Date: Tue, 28 Sep 2021 09:34:21 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that everything is in place at the poweroff sequence, this driver can use module_platform_driver(), which allows it to be removed. Signed-off-by: Mauro Carvalho Chehab --- To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v12 00/11] at: https://lore.kernel.org/all/cover.1632814194.git.mchehab+huawei@kernel.org/ drivers/pci/controller/dwc/pcie-kirin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie-kirin.c index ffc63d12f8ed..efab2af093b6 100644 --- a/drivers/pci/controller/dwc/pcie-kirin.c +++ b/drivers/pci/controller/dwc/pcie-kirin.c @@ -828,7 +828,7 @@ static struct platform_driver kirin_pcie_driver = { .suppress_bind_attrs = true, }, }; -builtin_platform_driver(kirin_pcie_driver); +module_platform_driver(kirin_pcie_driver); MODULE_DEVICE_TABLE(of, kirin_pcie_match); MODULE_DESCRIPTION("PCIe host controller driver for Kirin Phone SoCs"); -- 2.31.1