hwmon: (lm90) Read the channel's temperature offset from device-tree
authorSlawomir Stepien <slawomir.stepien@nokia.com>
Tue, 7 Jun 2022 06:35:04 +0000 (08:35 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:20 +0000 (08:38 -0700)
commit00dc6452bee557c7d34a6064472817f6f6b3f185
tree94c224a1a18c80a6060f8551bc042dbbead572b4
parent07845f559d325ce7b227b478dd33b8c524a065ad
hwmon: (lm90) Read the channel's temperature offset from device-tree

Try to read the channel's temperature offset from device-tree. Having
offset in device-tree node is not mandatory. The offset can only be set
for remote channels.

Signed-off-by: Slawomir Stepien <slawomir.stepien@nokia.com>
Link: https://lore.kernel.org/r/20220607063504.1287855-3-sst@poczta.fm
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c