Re: [PATCH] hwmon: max31827: Switch back to use struct i2c_driver::probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 26, 2023 at 10:51:45AM +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@xxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/max31827.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> base-commit: 16d60ba8fdc4c6e4745005889dea6ed82b6b5cbd
> 
> diff --git a/drivers/hwmon/max31827.c b/drivers/hwmon/max31827.c
> index 7735e8087df3..602f4e4f81ff 100644
> --- a/drivers/hwmon/max31827.c
> +++ b/drivers/hwmon/max31827.c
> @@ -456,7 +456,7 @@ static struct i2c_driver max31827_driver = {
>  		.name = "max31827",
>  		.of_match_table = max31827_of_match,
>  	},
> -	.probe_new = max31827_probe,
> +	.probe = max31827_probe,
>  	.id_table = max31827_i2c_ids,
>  };
>  module_i2c_driver(max31827_driver);



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux