Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp148616pxb; Mon, 18 Oct 2021 23:10:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKejENvQwC8RgoFiWjQoLJ8T4ZF1BPnIIqVLTZxzPBK0YNiKNJcwHnQDco1WCgxsHCX9Ri X-Received: by 2002:a17:906:ccd3:: with SMTP id ot19mr34967548ejb.312.1634623814028; Mon, 18 Oct 2021 23:10:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634623814; cv=none; d=google.com; s=arc-20160816; b=TFIFheQBeZNXUKKdm5G8u6o3OHOxHMPowH0uv7jZ/9WWKTaBICuX9jqQHYcfXSpMx8 R3BtmhQfMVs/wk2bBEWQWKao5F+mMj06cPzhq0L/ZoG3Nn3yfuG5pGerpuSH6mkwvEYl vVgclPhZUE5V2TInGKbJ2lckav+9/2yAO3iRbIx81lmrTm0dQm9DehCiBUFx+QlHB/qd jJpqqPd+gOhpEuGHctzK/QUWtgasuIgATNEpndKwtPHkheaX6Z7j9DIdfWtV8UnmN06y gAWjYwwLtNYO5WQlrluJSxfpd5bt8xHsmEF7vMGinU8HH5ZQQOw4Qe4yLqt8ZpbNh85y L3Xw== 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=JwL5SuByJLCz7ZgnNbgpsuC3ig/w85lbq/lUTXLCJmI=; b=E9RmMqo8TpqoZdHY0AQsyYe1mbzv0HhB9L4BesqjnS+HqnsBYejRAShrjxiYlU9EVZ HtVsPCZc0KijdfvNuhcx/sSDsCVDu9rCb+6VL7hZ7PuZis/hyehoz1WgFfp0b8G7D0mF BX+ibDROfh1S8DJ9S33T8dJiFtFrOjiuBWMnNIOB1BzaNu9SI30n0wxMrZ2dK2J32Bwh B/mJUJ7iQ8YCZmqV2woVdwEYdMz7VQB1yddclbqtQeEnvZDo9N1khoddK0CCg7498FoN 1X25ISoMGzPgnUtEWdLLXBLm9tliQ8pr1Ioz1ob1lpvG6VnscuJmZB5ew1u+uclbV7Xv vAJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GkH5bq2E; 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 m8si25434749edl.0.2021.10.18.23.09.49; Mon, 18 Oct 2021 23:10:14 -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=GkH5bq2E; 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 S234318AbhJSGJZ (ORCPT + 99 others); Tue, 19 Oct 2021 02:09:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:46050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233786AbhJSGJG (ORCPT ); Tue, 19 Oct 2021 02:09:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7372F61355; Tue, 19 Oct 2021 06:06:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634623614; bh=1yoLD7UxQCKRek9SwmvM0DGsrQjtyzfsq6N4DgP+9Ss=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GkH5bq2EiUejCMe7IzYbb4pkRp8wb6ZYsMu7wWNuvzQp/i3yZUj+w7V9SCvPb+Lyl 0dqRoYVuz9gWsu84PGxUp/fVtKJCKQHZXJP769BXWLWjpZjrK74uFMjl6JcLrp8064 QEojuDO5OzQiz8E7UEFWbGjsj0yHPqLim8B6Ktzd02jracE4sliGEEG86HKkFIz3+x 8jGRDQx3DOCjFWyLPT6OHK7zs6jgpKlzOaevbHcLISbz8Yvf+ZQLYprQ+bbACnNwV6 8Ig7yVm+4YexcAwnr02Y7q+2jSPMqSyB+vTc10lD3YDR9Bip7sbSjzmHxXBEFix4Q/ Jr+1ZtrI5mAyw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mciGx-001ks2-Tr; Tue, 19 Oct 2021 07:06:51 +0100 From: Mauro Carvalho Chehab To: Lorenzo Pieralisi Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , "Songxiaowei" , Binghui Wang , Bjorn Helgaas , Rob Herring , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v14 11/11] PCI: kirin: Allow removing the driver Date: Tue, 19 Oct 2021 07:06:48 +0100 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. Acked-by: Xiaowei Song Signed-off-by: Mauro Carvalho Chehab --- See [PATCH v14 00/11] at: https://lore.kernel.org/all/cover.1634622716.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 fea4d717fff3..cdf568ea0f68 100644 --- a/drivers/pci/controller/dwc/pcie-kirin.c +++ b/drivers/pci/controller/dwc/pcie-kirin.c @@ -827,7 +827,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