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>
This commit is contained in:
Slawomir Stepien 2022-05-25 09:36:53 +02:00 committed by Guenter Roeck
parent f07691219c
commit b9e7dfdedb

View File

@ -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