]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) Read the channel's label from device-tree
authorSlawomir Stepien <slawomir.stepien@nokia.com>
Wed, 25 May 2022 07:36:56 +0000 (09:36 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:20 +0000 (08:38 -0700)
commit0ec5eda952bda6d95ddbd1a9713fbf5d930ede84
tree5f281457d687840fc526555755ffb19af2c2cbfb
parenta7273d69989627008688d6cb304affe772f7daa0
hwmon: (lm90) Read the channel's label from device-tree

Try to read the channel's label from device-tree. Having label in
device-tree node is not mandatory.

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