projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f076912
)
hwmon: (lm90) Add compatible entry for adt7481
author
Slawomir Stepien
<slawomir.stepien@nokia.com>
Wed, 25 May 2022 07:36:53 +0000
(09:36 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:19 +0000
(08:38 -0700)
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>
drivers/hwmon/lm90.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/lm90.c
b/drivers/hwmon/lm90.c
index f54227affe09fbc5fcb5ce8212f86fdb702c1ff5..85d35ccb7c44c8fcc1f8181e9adfa6fbd136626b 100644
(file)
--- 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