Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2357070pxb; Sun, 31 Oct 2021 13:57:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx+j9+0GJRHXBGBThPbXfbPzv50lCCfWkF251GX6mXAPMDLHctwNkcaSRP3LszUTCv4BS1 X-Received: by 2002:a05:6e02:180d:: with SMTP id a13mr16171993ilv.117.1635713826338; Sun, 31 Oct 2021 13:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635713826; cv=none; d=google.com; s=arc-20160816; b=MlxLJOe/n/Wu+HeEl9szGJyDr6j6vKfaMKSTdFj2HnsCbGxSAiraX+N2fgVPWLLcHC DrccMJDr2UJh+PVa2CBNTnGVn2N3CQ/J2cogP4yVhB4NXUy0x3NnHkBao95mdfj5xl58 ztqrUcGRN1UUQZTj4SgYeuQJAsk9Xc53aZlgTjnvCjEm7Uo6gL55mQDaA2FP73kjHKMt Ld3fBPN0vQCLcd124tFbd31BESegjR3OmZE/q4PKKqllJ20D3dU3b/pRJkYe6r86DGfy SWuw5EeSgqvWZqbW+Rqvpc+Vwb1OXBem29ag1hUDFKpcQmFe6kkbSN/O65Uvn5xbTsKH d/bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=gymwbxddfrvKvoo8pjcPMpiHwY6vgOuSgW0mXdQ6pTg=; b=0YR7Nljdk+ZxYi1+Ys9x8Jqe0feWsP4Rhc6NyiFsMcKq5Uq9O7mDLFb0ivJ6K7aQRS dO7BVbj1M7kDgpHAQrhoz9dQ0ZE1PjH1llF2SMtdcexKoT5yxlrviOY/iblZB8HNRlrQ nAE71+YUK0tmJ1jdhU/iCHZnUN9dZMWpKTF3UQAcVjB+XYXucHVJQYkG7r1YCgfp9tjk d0SCCqmX1/IlgrSN4D7l8Jcu/IkJzUvECfqdei1lza54p5ltuP+Mv4IxZg8qJ899Ks+z ZatfwSQeH7Mo4CR7/BSKkEEVIbffk0Jzvs48RMh9RnHE791atJDrhS8eA2rmfZxZ80x6 EWnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R0OlfTtr; 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 g16si20640743iov.39.2021.10.31.13.56.53; Sun, 31 Oct 2021 13:57:06 -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=R0OlfTtr; 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 S230061AbhJaU6G (ORCPT + 99 others); Sun, 31 Oct 2021 16:58:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:56000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbhJaU6C (ORCPT ); Sun, 31 Oct 2021 16:58:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0E4D360F4C; Sun, 31 Oct 2021 20:55:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635713730; bh=oeU9m32KyPvFqKwG3qk6If06NKojmbJC+GcvF27icTs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R0OlfTtr4h9Ic9fubr4O7eXo+/0zyom8N0wI7bhtBx2ggB7AYxEGYepcPp6CgVSVr ReYxvucliRZaAfo1Euib4ragEZvz98FrriA7B9XkatsOzrevcrEx8mWzT6hYNCfT3Q 18Al0FrsJhYTw3Jl/wXdPEPu49T7lnTgtBHMtvKx/00kEX6sD/l6dLHS2Ha1/rJQ5k IohxXLEL758TI1ks5og3KpyLaBDGSyRjNRb7sSNiJovYPjmYnBiDtwPBITNDxPp4tg 1M9YpzUZhDYdysq18KIJQTIaV8fTPINGtZbLWmcM8ABlFOqOyjd/VEtSSj1B616SBq 7XzVXRDzPA+3w== Received: by pali.im (Postfix) id 94322E5D; Sun, 31 Oct 2021 21:55:27 +0100 (CET) Date: Sun, 31 Oct 2021 21:55:27 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Mauro Carvalho Chehab Cc: Lorenzo Pieralisi , linuxarm@huawei.com, mauro.chehab@huawei.com, Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Binghui Wang , Bjorn Helgaas , Rob Herring , Xiaowei Song , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v15 13/13] PCI: kirin: Allow removing the driver Message-ID: <20211031205527.ochhi72dfu4uidii@pali> References: <53b40494252444a9b830827922c4e3a301b8f863.1634812676.git.mchehab+huawei@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53b40494252444a9b830827922c4e3a301b8f863.1634812676.git.mchehab+huawei@kernel.org> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 21 October 2021 11:45:20 Mauro Carvalho Chehab wrote: > 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, Hello Mauro! I think that you should not set ".suppress_bind_attrs" to "true" if you want to bind and unbind driver at runtime. > }, > }; > -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 >