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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBA0AC001DB for ; Tue, 15 Aug 2023 02:26:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234213AbjHOC0D (ORCPT ); Mon, 14 Aug 2023 22:26:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233747AbjHOCZa (ORCPT ); Mon, 14 Aug 2023 22:25:30 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7EFF210C1 for ; Mon, 14 Aug 2023 19:25:27 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTPS Server V6.0(3219768:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Tue, 15 Aug 2023 10:25:08 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 15 Aug 2023 10:25:08 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Tue, 15 Aug 2023 10:25:08 +0800 Date: Tue, 15 Aug 2023 10:25:08 +0800 From: Alina Yu To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= CC: Liam Girdwood , Mark Brown , , Subject: Re: [PATCH] regulator: rtq2208: Switch back to use struct i2c_driver's .probe() Message-ID: <20230815022508.GA5930@linuxcarl2.richtek.com> References: <20230814210759.26395-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230814210759.26395-1-u.kleine-koenig@pengutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 14, 2023 at 11:07:59PM +0200, Uwe Kleine-König wrote: > struct i2c_driver::probe_new is about to go away. Switch the driver to > use the probe callback with the same prototype. > > Signed-off-by: Uwe Kleine-König > --- Hi, Uwe Thank you for your revising. Reviewed-by: Alina Yu Best regards, Alina > drivers/regulator/rtq2208-regulator.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/regulator/rtq2208-regulator.c b/drivers/regulator/rtq2208-regulator.c > index 2463aea4192c..2d54844c4226 100644 > --- a/drivers/regulator/rtq2208-regulator.c > +++ b/drivers/regulator/rtq2208-regulator.c > @@ -574,7 +574,7 @@ static struct i2c_driver rtq2208_driver = { > .name = "rtq2208", > .of_match_table = rtq2208_device_tables, > }, > - .probe_new = rtq2208_probe, > + .probe = rtq2208_probe, > }; > module_i2c_driver(rtq2208_driver); > > > base-commit: 85a11f55621a0c18b22b43ab4219450ac1d19386 > -- > 2.40.1 >