commit | 82ba1d3f9703fc8e40c14b2afe06895980ecee67 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sat Dec 14 09:30:10 2013 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 18 16:45:38 2013 -0800 |
tree | e9eabbd0f30491edadd273310c254672b4a84979 | |
parent | 12186f51b62b4210bd46c31ba23f4c5f4d0b2b11 [diff] |
i8k: Convert to use to hwmon_device_register_with_groups hwmon API Simplify code and fix race condition caused by registering hwmon device prior to creating sysfs attributes. Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>