Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp491701pxb; Thu, 21 Oct 2021 03:48:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzrrE0TQJ91nz3OqFAgmD796JazqiX5vnPvKA/rxfpCl0wohRDZFugxEr+Vcref5PbnER9 X-Received: by 2002:a17:90b:180b:: with SMTP id lw11mr5859371pjb.45.1634813306773; Thu, 21 Oct 2021 03:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634813306; cv=none; d=google.com; s=arc-20160816; b=T+2B4z8pbwrqjiExBH6ODemBRsLCLX8QcmIXmJZPD3zvy36CoLrB8neiwKxYtbV/lk ThRAMD6vRsEBOoNCedrYUFYai425tt1ntKh5qHpX61VhBNylG2SadP+M/2xYUR6fLcLI Tm0vlROVgTboBTllRVstLjMTWvb08Dlvy7MO7HKcKZlfN37g+mMXab8Ztbsb9wBq8ITN rcxFirL0VqPEXv4ajwduWGk6lPMPIzK9T4H3Z3KUC+buUn3tTo68HoTcO47bhjH0Lqn9 nLtZJhMKWeKgA7rLL/LtErLc3c+nnc2US8WLdgAFTixfh9GMiT3VmgItjsB2DvGYb6G4 73zg== 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=081XZu+3FvNU3Ohpydwml06b678lCbzGu/t8fURnnxg=; b=pmJO+ar1DR2HhMpwUjRo70RAzcQojVIqfYy8dtpcJzUflwYarTJdsJcOnd+SLxeDR0 mAYxCiA7quC9wW/mVwoOd6telzMUsmW/jkVI9CMC1zNQbRWg8jzyL/uAuiW5aSc0fQvA aZfrHLC61uWwL2Nj3WUdvfcfKsdtUgtH7QzmSXEXmqalrSNypHMufh08fyA5yRAVr660 w4uPXh3rf4QRKNgWz4FZ0PaZ/0O3pe5ecWxNnhtI0lOgpVebFdozH+/mFG8SikO8IIDa PpXyilwH3pmzAOqHZzibzwRhFhQkKlYfp4z9LP+aANZLxyN+DWDlEotxMuCICmOjpKxi pPeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZcInEMA7; 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 z22si6643383pgl.46.2021.10.21.03.48.14; Thu, 21 Oct 2021 03:48:26 -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=ZcInEMA7; 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 S231408AbhJUKsH (ORCPT + 99 others); Thu, 21 Oct 2021 06:48:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:57860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230372AbhJUKru (ORCPT ); Thu, 21 Oct 2021 06:47:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id ED86F61213; Thu, 21 Oct 2021 10:45:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634813134; bh=G+b584k4tQ2fwQ3W1w2eccdVGaOwa88+od2/2SHzSWc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZcInEMA7hEXIKyTYrkM556DcXiVzD16UwAqKHOkSKMKgK0yCOR3buGMvLIQFjdgj1 Q7bss6AQunAN7kGKNT9Cc3WsZM+JnZsQ5rr/QZ7qZMQIQ/eRbcQY6L+UJ4renUKcSe 1UZpsGl8DBJJcDlaLF77qenoSsjo8ih5hrpcCIYCqZHGOZc8vj9gl4d06uFi8oiq3U VllcP1gE3JgIO0oD9ZQttuuINq9ryFJ+fK9U+RnMAFokNu11jLKelEpScWeYy6/7XJ ws9SwQd8Ldn9OaJ3PWuCpeMDGgeR38NUH+Xgxf1z7bCPmsOr/FgwLSJjbDMwSqfYsb KPR89UByUOqtw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mdVZj-002z5Q-89; Thu, 21 Oct 2021 11:45:31 +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?= , Binghui Wang , Bjorn Helgaas , Rob Herring , Xiaowei Song , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v15 13/13] PCI: kirin: Allow removing the driver Date: Thu, 21 Oct 2021 11:45:20 +0100 Message-Id: <53b40494252444a9b830827922c4e3a301b8f863.1634812676.git.mchehab+huawei@kernel.org> 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 --- To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v15 00/13] at: https://lore.kernel.org/all/cover.1634812676.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