commit | 38c75dc36dd368d10c4d0030665ec58565e4259b | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon Sep 02 11:31:28 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Oct 13 16:16:29 2013 -0700 |
tree | e2314857c44dc91b881ebedba852fd20c5dcce53 | |
parent | 8d3735522fb192738d7161865d41688f10983613 [diff] |
hwmon: (max16065) Convert to use devm_hwmon_device_register_with_groups 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>