Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp415177rdb; Mon, 14 Aug 2023 23:47:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGBEU1LOjmmDYsuxWAAT7+DiuLcOv7538VUYSenTGCDuXHEf0JwGi286pReWG6j/TFAIci X-Received: by 2002:a05:6512:39c8:b0:4fe:2ac1:4151 with SMTP id k8-20020a05651239c800b004fe2ac14151mr8828700lfu.63.1692082024919; Mon, 14 Aug 2023 23:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692082024; cv=none; d=google.com; s=arc-20160816; b=idXd+xvbE0bwFmEKP8D6NG7RAcSG2pk8R3Ok8YIbPTl999oXuAI7I/virJsqtnzsma 3pRHPerr6GB/CwQDzHzFaSCOQ3G90tJFm+494lQ0R0fAHXq+u8EwLGNd0ke3sQZMD0xF ZrkFvFm1Tnt0baYgqszNvpSaQF9736bTx95hv+urUTvvGdSQtIj0+A9rkirHsQCI17OP Q0dcUEJzvpgHBy2kD+Oz/qMoz3V6SFN/F/bEGK223GDgRW5L8NPLxzF/u4579PWGjE7U fNi0aoxAzyxgMWn3ddnkoFYxci/Gw49vzxG6mYV1Thp7wit6wcYeWHd+9FGfjeMdANWc o/DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hCkYu5kCke6YepbTkG+IkavTP2ExcOdly8qNZfuj5Q4=; fh=rO22+uQQNnjFH3ytgVRY9bzLMIOYZ22Urw9WCAp0QfE=; b=nDrHlT4vPF6k16P2bNMkEfRjYfSIlz04UkqSFfIhH5H79rt94W6ITFuZmz2cAmu7TJ ec1SxI24Odf67ZWCK9qnxW7JwH08kQeqiUzPk/o5DH1NX2VXo+rEccSyC5e1n1tYQHUq MveB3NvYj5HtujaAFNBaO0Il6yDQGqEEwpuIZwkXCsxUt5gDGFICOqTm0s1tJ1SgFHhq DXU319NOjYrct8JFd6CenWDQrz2Rl9EXJfgJujXRY62ln7cvfoey9dpoPFwDK6iqbadW RvbtY3dn/9g3Z8VnMNLZv+ahlkz8Jg8xSMnPn2+MOUNWxlSrvkELbAevGQwNstNMDf8q y6iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a056402128400b005221df75dd2si8836277edv.150.2023.08.14.23.46.39; Mon, 14 Aug 2023 23:47:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234210AbjHOC0C (ORCPT + 99 others); Mon, 14 Aug 2023 22:26:02 -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) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 >