From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 655FE1993BA for ; Thu, 7 Nov 2024 09:35:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.145.95.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730972120; cv=none; b=oSxcTbcZqedis6AV8AEUsjp+DbVKBADcoriMvLXOL/Pn+wPuvlyNbmUzqVXvEva6cSzqIf3ZSDf7cIkd7Cliib70VNzHqIP4qmT92dbWFzjGkDNZRCWBIPghCSysAx6NUuWp1mjK8czbCUizMR7NzhvIeq3S1yDwbqN1p6vcw5I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730972120; c=relaxed/simple; bh=A3gBPLxLIFjBUvT/9EO2DO8Lp/H909xwWuUilV/trcc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=jXYLUB42N8B0pKd+O5ncpzZZf+n8Eo2ztLntVdjwqxhOfopJLfsNnVroVC2S15pjJwSD2Wdxcbkx3AAWa8OTr4kft5EdUnd7bebwuElCR5K8mgIyNWmfdHYVhDwu0ckqSOyfBhDg4EvBkJuySQ9/UbCeshri9gVv52pkvr8xCfI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=toke.dk; spf=pass smtp.mailfrom=toke.dk; dkim=pass (2048-bit key) header.d=toke.dk header.i=@toke.dk header.b=hMPqC1nq; arc=none smtp.client-ip=45.145.95.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=toke.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=toke.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toke.dk header.i=@toke.dk header.b="hMPqC1nq" From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1730972113; bh=A3gBPLxLIFjBUvT/9EO2DO8Lp/H909xwWuUilV/trcc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hMPqC1nqdZbu6JIOlIiGh/tEo0XoQaVFqxaQKpTMmrzMTI0Z51JWqX6tb123/ka/Z 80RM8u6wubPj8YKnZHy87BTlMuiQEn/UZA1X6A6P1gWo+1AuKpNwcY+68Ig26WP4SI fJI7tyu7vdPYi2nh9oby8Fg1OCPwkc4KKA33CyS/MhmtWHZYQb6mk16iUiwqW7IFA+ Gycf+7r3Q4kXbC6UNJb+XZDtNG10TuQcjyRe0f2EA7h6YSbRi7kK0BispM8M0TVPhK f4FjKx4qMWAhVxnVDBkl9psNyyt9lII4mdUthuyxmNP0J+qd8W++L9eMEJrQ+CDUiB jNQwPYfvdD45A== To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Kalle Valo Cc: Jeff Johnson , Jiri Slaby , Nick Kossifidis , Luis Chamberlain , Loic Poulain , Arend van Spriel , Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Andy Shevchenko , Peter Chiu , Breno Leitao , "Russell King (Oracle)" , linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, ath11k@lists.infradead.org, wcn36xx@lists.infradead.org, brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] wifi: Switch back to struct platform_driver::remove() In-Reply-To: <20241106170706.38922-2-u.kleine-koenig@baylibre.com> References: <20241106170706.38922-2-u.kleine-koenig@baylibre.com> Date: Thu, 07 Nov 2024 10:35:13 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87fro375f2.fsf@toke.dk> Precedence: bulk X-Mailing-List: brcm80211@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Uwe Kleine-K=C3=B6nig writes: > 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/net/wireless 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. > > En passant several whitespace changes are done to make indentation > consistent in the struct initializers. > > Signed-off-by: Uwe Kleine-K=C3=B6nig For ath9k: Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen