diff options
author | Slawomir Stepien <slawomir.stepien@nokia.com> | 2022-05-25 09:36:53 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-07-13 08:38:19 -0700 |
commit | b9e7dfdedbc5309eb516fb11cef4a67543f20fc2 (patch) | |
tree | 1e26cafe6411836db59e4ffcecd2a8bd16c82d90 /drivers/hwmon | |
parent | f07691219cff2521e6eace2cb6d3e3d3c589b376 (diff) |
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 <slawomir.stepien@nokia.com>
Link: https://lore.kernel.org/r/20220525073657.573327-4-sst@poczta.fm
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/lm90.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index f54227affe09..85d35ccb7c44 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c @@ -295,6 +295,10 @@ static const struct of_device_id __maybe_unused lm90_of_match[] = { .data = (void *)adt7461a }, { + .compatible = "adi,adt7481", + .data = (void *)adt7481 + }, + { .compatible = "gmt,g781", .data = (void *)g781 }, |