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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 996C9C77B7A for ; Thu, 25 May 2023 20:53:51 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BBF3D208; Thu, 25 May 2023 22:52:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BBF3D208 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1685048028; bh=jAcuNet3WnTKkxf1bcIBxk1dsgzjCeCWRcKPNcLDGu8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=fE25qBpZdjiSZddugPUv//I9EL+FEd+1iyb07YP9S6E5HBouYm2E7o6DlQ6FY3VTJ QLIiabAsHO1vDwPZWcdJm1Z8F+ZFv+GAgtqYVUZc0ErK2tjGyLM+99lHr07T+9Z/Vo P2gZcYKJ5BP227TMWrLBtFk7N9aeBTSnbfmTHQtM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id ED2E0F80548; Thu, 25 May 2023 22:52:49 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 6BD57F80249; Thu, 25 May 2023 22:52:49 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2F8A4F80249; Thu, 25 May 2023 22:52:46 +0200 (CEST) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id EEDFEF8001F for ; Thu, 25 May 2023 22:52:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EEDFEF8001F Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=fUalf6GQ X-GND-Sasl: luca.ceresoli@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1685047961; 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=jAcuNet3WnTKkxf1bcIBxk1dsgzjCeCWRcKPNcLDGu8=; b=fUalf6GQHStHmVlCQb3CeQs3aX2uEwLvCEJ5St2MiUwCn5w11vpIJphwW43uxVjtnSsXMI fvV4S0rAIY6wCJkX5iWDg+4bWTjRFIHCuxVS4rEEEZr18UepWdc/dl9n34opElcOJX9LhT ov+f7AE1UGYNA9v7GeCjhlPfbOfMvxEfotMs51OYXSvvMYGh/iuv7GjdUmGBQUdQjLS0xE ZYqSIjyYJLDLJZSW09r7j9AINLVVklWdaWAI6Gi+rLUZi4FXip+Y28Gzo3r2onr6VV239v 5t0QL/KPHJFX32DigzHylqrd9QYxdviGU/UWk30qRlNzD9Byc6KpFqx+cqt8Ng== X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com X-GND-Sasl: luca.ceresoli@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id A4B6740004; Thu, 25 May 2023 20:52:36 +0000 (UTC) Date: Thu, 25 May 2023 22:52:35 +0200 From: Luca Ceresoli To: Uwe =?UTF-8?Q?Kleine-K=C3=B6nig?= Cc: Jaroslav Kysela , Takashi Iwai , Johannes Berg , James Schulman , David Rhodes , Lucas Tanure , Richard Fitzgerald , Wolfram Sang , Krzysztof =?UTF-8?Q?Ha=C5=82asa?= , Dmitry Torokhov , Vladimir Oltean , Andy Shevchenko , Greg Kroah-Hartman , Sebastian Reichel , Adrien Grassein , Peter Senna Tschudin , Benjamin Mugnier , Corey Minyard , linuxppc-dev@lists.ozlabs.org, alsa-devel@alsa-project.org, kernel@pengutronix.de, patches@opensource.cirrus.com Subject: Re: [PATCH] sound: Switch i2c drivers back to use .probe() Message-ID: <20230525225235.1c3dc475@booty> In-Reply-To: <20230525203640.677826-1-u.kleine-koenig@pengutronix.de> References: <20230525203640.677826-1-u.kleine-koenig@pengutronix.de> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: VA7OHVWTRBCNFGBEW6GOO6576T6YHABQ X-Message-ID-Hash: VA7OHVWTRBCNFGBEW6GOO6576T6YHABQ X-MailFrom: luca.ceresoli@bootlin.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi Uwe, On Thu, 25 May 2023 22:36:40 +0200 Uwe Kleine-K=C3=B6nig wrote: > After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new() > call-back type"), all drivers being converted to .probe_new() and then > 03c835f498b5 ("i2c: Switch .probe() to not take an id parameter") convert > back to (the new) .probe() to be able to eventually drop .probe_new() from > struct i2c_driver. >=20 > Signed-off-by: Uwe Kleine-K=C3=B6nig Reviewed-by: Luca Ceresoli --=20 Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com