Re: [PATCH 3/7] hwmon: (lm90) Add compatible entry for adt7481

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

 



On Wed, May 25, 2022 at 09:36:53AM +0200, Slawomir Stepien wrote:
> From: Slawomir Stepien <slawomir.stepien@xxxxxxxxx>
> 
> This will allow binding the driver with the device from the device tree.
> 
> Signed-off-by: Slawomir Stepien <slawomir.stepien@xxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter

> ---
>  drivers/hwmon/lm90.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
> index 4c25c9ffdfe9..02b211a4e571 100644
> --- a/drivers/hwmon/lm90.c
> +++ b/drivers/hwmon/lm90.c
> @@ -294,6 +294,10 @@ static const struct of_device_id __maybe_unused lm90_of_match[] = {
>  		.compatible = "adi,adt7461a",
>  		.data = (void *)adt7461a
>  	},
> +	{
> +		.compatible = "adi,adt7481",
> +		.data = (void *)adt7481
> +	},
>  	{
>  		.compatible = "gmt,g781",
>  		.data = (void *)g781



[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