From: Slawomir Stepien Date: Wed, 25 May 2022 07:36:53 +0000 (+0200) Subject: hwmon: (lm90) Add compatible entry for adt7481 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b9e7dfdedbc5309eb516fb11cef4a67543f20fc2;p=linux.git hwmon: (lm90) Add compatible entry for adt7481 This will allow binding the driver with the device from the device tree. Signed-off-by: Slawomir Stepien Link: https://lore.kernel.org/r/20220525073657.573327-4-sst@poczta.fm Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index f54227affe09f..85d35ccb7c44c 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