]> git.baikalelectronics.ru Git - kernel.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)
commit7cb76ebf7ed88431ddc70c1624eb18a6b48c9954
tree3d11d6b2bc0a590b4d7d8c216e9c047ae83a539a
parent0820d274b0616d80fc1139b1a51808a2508a9845
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: d72f5fefc8e1 ("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