mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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: Guenter Roeck <linux@roeck-us.net>
22 KiB
22 KiB