From: Alina Yu <alina_yu@richtek.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, <linux-kernel@vger.kernel.org>,
<kernel@pengutronix.de>
Subject: Re: [PATCH] regulator: rtq2208: Switch back to use struct i2c_driver's .probe()
Date: Tue, 15 Aug 2023 10:25:08 +0800 [thread overview]
Message-ID: <20230815022508.GA5930@linuxcarl2.richtek.com> (raw)
In-Reply-To: <20230814210759.26395-1-u.kleine-koenig@pengutronix.de>
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 <u.kleine-koenig@pengutronix.de>
> ---
Hi,
Uwe
Thank you for your revising.
Reviewed-by: Alina Yu <alina_yu@richtek.com>
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
>
next prev parent reply other threads:[~2023-08-15 2:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 21:07 [PATCH] regulator: rtq2208: Switch back to use struct i2c_driver's .probe() Uwe Kleine-König
2023-08-15 2:25 ` Alina Yu [this message]
2023-08-15 12:32 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230815022508.GA5930@linuxcarl2.richtek.com \
--to=alina_yu@richtek.com \
--cc=broonie@kernel.org \
--cc=kernel@pengutronix.de \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox