]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (dell-smm-hwmon) Use a valid name attribute
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Sat, 27 Jun 2015 13:22:05 +0000 (15:22 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 1 Jul 2015 20:56:27 +0000 (13:56 -0700)
commit9026cae1c6d6c288dff0dc1d8350a949432819d8
tree3d11d6b2bc0a590b4d7d8c216e9c047ae83a539a
parent7adf12b87f45a77d364464018fb8e9e1ac875152
hwmon: (dell-smm-hwmon) Use a valid name attribute

As per Documentation/hwmon/sysfs-interface, hwmon name attributes must
not include '-', so replace 'dell-smm' with 'dell_smm'.

Fixes: 039ae58503f3 ("hwmon: Allow to compile dell-smm-hwmon driver without /proc/i8k")
Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c