-
由 Guenter Roeck 提交于
Modify code to use is_visible to determine if an attribute should be created or not, then use devm_hwmon_device_register_with_groups to create the hwmon device and all attributes in one operation. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>38c75dc3