hwmon: tmp102: Add support for label
authorFlaviu Nistor <flaviu.nistor@gmail.com>
Mon, 25 Aug 2025 18:02:44 +0000 (21:02 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 7 Sep 2025 23:33:48 +0000 (16:33 -0700)
commitd41f80bd43e6f613078060f63ad60f98e4773b56
tree6865adce998c7a26a1174f85e443654e7b28ba6d
parentfa1ab48bfe97c86278ddf7fb535bc597e64fd210
hwmon: tmp102: Add support for label

Add support for label sysfs attribute similar to other hwmon devices.
This is particularly useful for systems with multiple sensors on the
same board, where identifying individual sensors is much easier since
labels can be defined via device tree.

Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com>
Link: https://lore.kernel.org/r/20250825180248.1943607-2-flaviu.nistor@gmail.com
[groeck: Fixed continuation line alignment]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp102.c