From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8858BD5B172 for ; Tue, 29 Oct 2024 09:04:13 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Xd47c0Kwvz2yD8; Tue, 29 Oct 2024 20:04:12 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2001:4b98:dc4:8::228" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1730192651; cv=none; b=fem7/vX5PwqKq0oZgAuVtkztSOAOKSb3qCLiO1QY5OETi7qE8fKpHGggp79I17a/B1XzYqLo3kvEtsD8MJFs5OjNKG6WSxtgdzqGLMl18AifpBFEyVIf9Fe9oEs5mcwvXKERAlkjYUEbrxF+bwVJ+tUoRMV61zb+ZZG+3OAQLrHwo5NTsSooqJ5eKFuBbvHmlzCZcyZnNwwFZjMtIBhInZhRnlWiJ9vEjSfgeAxEfd1Rmr85ktuTvNvPHqxL4KdPqHEnIJzuYi84fqoOFEMqoQj0iLDgeC/cBpZXXVXljCzjieDfb3y2lRuJkfesRT1mf/06282CNxOtnbBH8A2Dug== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1730192651; c=relaxed/relaxed; bh=hpAfK6tyrvwMS8L2PbzrGqnbfuzjHJrlMvInkHIHnZI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bYmnCVtORdwI2DPvHXfScpO9k7axmwInIHptdB/S28sT7vTb9PzUtjWEWsnVvbbfB36zzxBRO0Fo2K3YSDqnqfGm0sTp5UEmayOws+m2QZ/+fxzGCGSpqA3VL++s0mG4zVK3YtFoA4xK27H5rdUP1mMg7rXrJWfMqUMRlUYGTZWDbYo/DDecgzZJiKo79ACH28ZcNqPZ2c960+SyUZLceixNG7gewCPkYsD2WZRSahB3UEuVxyB4pVazSwnz2kGEK39o4N5sRwgzlZPm4IJWITVlShUZNjBqjVG28U8/uYq1kQSWyox2LVadLRoPp0t/bY7v8ZRBwGYfiJgZbbJrAg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=WkhI/DVq; dkim-atps=neutral; spf=pass (client-ip=2001:4b98:dc4:8::228; helo=relay8-d.mail.gandi.net; envelope-from=herve.codina@bootlin.com; receiver=lists.ozlabs.org) smtp.mailfrom=bootlin.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=WkhI/DVq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=bootlin.com (client-ip=2001:4b98:dc4:8::228; helo=relay8-d.mail.gandi.net; envelope-from=herve.codina@bootlin.com; receiver=lists.ozlabs.org) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Xd47Y54wVz2xFn for ; Tue, 29 Oct 2024 20:04:05 +1100 (AEDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id C68791BF204; Tue, 29 Oct 2024 09:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1730192635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hpAfK6tyrvwMS8L2PbzrGqnbfuzjHJrlMvInkHIHnZI=; b=WkhI/DVqn/dDgEGXg5ze24s00SnuWWK8bmgYFAQaSQSgHS/3+b0O5sNNKTStjAxR/jf+4h 0o6b25F5CM6hzS4ApkL7rjJteF/3WsvIXr9Is7v7RNPDr1hM6SgZtytzIUP4gZ5dtlEpLg COgrRCbWe5DTxWzSVRzksGVJyb597rnqQCl5AJLLhtHIb4htqmGNuaCLmKvnbildk9oQPe IqjYlYEsv6PJq4Tpe9bBIT7sk8n1gJbWFWN3kIUiX2Dd+Sk2UHidAD1P51iPnXfsSARzVl nu+FDRAug3FdoWJxDLz5FVgjrXmtG+m82/IUNQdOKDRvvPwaBoAqjYk9s9Gx2w== Date: Tue, 29 Oct 2024 10:03:47 +0100 From: Herve Codina To: Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Cc: Arnd Bergmann , Olof Johansson , Joel Stanley , Andrew Jeffery , Christophe Leroy , Qiang Zhao , Hitomi Hasegawa , Huisong Li , Linus Walleij , Imre Kaloz , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Yinbo Zhu , Matthias Brugger , AngeloGioacchino Del Regno , Conor Dooley , Daire McNamara , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Heiko Stuebner , Alim Akhtar , Thierry Reding , Jonathan Hunter , Nishanth Menon , Santosh Shilimkar , Michal Simek , Andy Shevchenko , Duje =?UTF-8?B?TWloYW5vdmnEhw==?= , Mark Brown , David Wu , Jianqun Xu , Jay Buddhabhatti , Radhey Shyam Pandey , Izhar Ameer Shaikh , Naman Trivedi Manojbhai , linux-arm-kernel@lists.infradead.org, soc@lists.linux.dev, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-riscv@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] soc: Switch back to struct platform_driver::remove() Message-ID: <20241029100347.542b56d4@bootlin.com> In-Reply-To: <20241029074859.509587-2-u.kleine-koenig@baylibre.com> References: <20241029074859.509587-2-u.kleine-koenig@baylibre.com> Organization: Bootlin X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com Hi Uwe, On Tue, 29 Oct 2024 08:48:58 +0100 Uwe Kleine-König wrote: > After commit 0edb555a65d1 ("platform: Make platform_driver::remove() > return void") .remove() is (again) the right callback to implement for > platform drivers. > > Convert all platform drivers below drivers/soc to use .remove(), with > the eventual goal to drop struct platform_driver::remove_new(). As > .remove() and .remove_new() have the same prototypes, conversion is done > by just changing the structure member name in the driver initializer. > > On the way do a few whitespace changes to make indention consistent. > > Signed-off-by: Uwe Kleine-König > --- ... > drivers/soc/fsl/qe/qmc.c | 2 +- > drivers/soc/fsl/qe/tsa.c | 2 +- Acked-by: Herve Codina # for fsl/qe/{qmc,tsa}.c Best regards, Hervé