From d72d19c26c417d514787ae85b197af34de286c0a Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Sun, 16 Feb 2014 15:49:04 -0800 Subject: [PATCH] hwmon: (coretemp) Convert to use devm_hwmon_device_register_with_groups Simplify code, reduce code size, and attach sysfs attributes to hwmon device. For this driver, the only attribute created is the name attribute. Other attributes are still created and removed dynamically as cores are added or removed. Signed-off-by: Guenter Roeck Reviewed-by: Jean Delvare Tested-by: Jean Delvare --- Reading git-format-patch failed