]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ntc_thermistor) Underscore Samsung thermistor
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 5 Feb 2022 00:58:04 +0000 (01:58 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 20 Feb 2022 00:47:54 +0000 (16:47 -0800)
commite7ead790f6abd26ba3d28d2e036189baaaf04cce
treee02893207db17bbe786e4c5dcf9a3d0d6fe8ee77
parent9ef9d9575bfa54b166706bccee87f6694a1f3e7b
hwmon: (ntc_thermistor) Underscore Samsung thermistor

The sysfs does not like that we name the thermistor something
that contains a dash:

ntc-thermistor thermistor: hwmon: 'ssg1404-001221' is not a valid
name attribute, please fix

Fix it up by switching to an underscore.

Fixes: 0901caa57b23 ("hwmon: (ntc_thermistor) Add Samsung 1404-001221 NTC")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220205005804.123245-1-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ntc_thermistor.c