From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 156E51FA6 for ; Sun, 21 May 2023 19:07:14 +0000 (UTC) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1527BC6 for ; Sun, 21 May 2023 12:07:11 -0700 (PDT) Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 2DDA31BF203; Sun, 21 May 2023 19:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1684696030; 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=mqyYznHTfVAhewCJVUdQ7VMdWhJFx5h/F1J6byiPzxU=; b=XoyOiCOUmhnZv/6HRhy4XGviAntNAWiJYf8oUDbiaJUGQ5EariEKLJ1n4k9Brpnzd48Ijp GNqdLN4xjdr0/WRTPOgXI9oTERZ8/oLllxkT7sPSTcaqt6EjwLv+rxYtwyECJtFwbwGjCS oxPd4RLXJygvSjzhX+S1+cMIFX977XZr4GL0AIG+Lp/5Y9cCvlcog5A4YeKMv9JUEru7L2 BDFtXR7a5YuhFx844OsR9HUkbnvPtUrVuc7gDFtFCFL4NRA6Cer/8e4shLQlhBwd4RVrsA UsauFbjOrLe8o7Gw5jBjEvc6K6sb+akSG4a98/qesiHNBSkiDxjC78i1HGaLqg== Date: Sun, 21 May 2023 21:07:04 +0200 From: Luca Ceresoli To: Uwe =?UTF-8?Q?Kleine-K=C3=B6nig?= Cc: Krzysztof Kozlowski , Vladimir Oltean , Andy Shevchenko , Corey Minyard , Peter Senna Tschudin , Kang Chen , "David S. Miller" , Jakub Kicinski , Shang XiaoJing , Rob Herring , Michael Walle , Benjamin Mugnier , Marek =?UTF-8?Q?Beh=C3=BAn?= , Petr Machata , Hans Verkuil , Jonathan Cameron , Jean Delvare , Greg Kroah-Hartman , Jeremy Kerr , Sebastian Reichel , Adrien Grassein , Javier Martinez Canillas , netdev@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH net-next] nfc: Switch i2c drivers back to use .probe() Message-ID: <20230521210704.19cda179@booty> In-Reply-To: <20230520172104.359597-1-u.kleine-koenig@pengutronix.de> References: <20230520172104.359597-1-u.kleine-koenig@pengutronix.de> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On Sat, 20 May 2023 19:21:04 +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