[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230815022508.GA5930@linuxcarl2.richtek.com>
Date: Tue, 15 Aug 2023 10:25:08 +0800
From: Alina Yu <alina_yu@...htek.com>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
CC: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
<linux-kernel@...r.kernel.org>, <kernel@...gutronix.de>
Subject: Re: [PATCH] regulator: rtq2208: Switch back to use struct
i2c_driver's .probe()
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@...gutronix.de>
> ---
Hi,
Uwe
Thank you for your revising.
Reviewed-by: Alina Yu <alina_yu@...htek.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
>
Powered by blists - more mailing lists