diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-06-17 15:38:23 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 07:01:34 -0700 |
commit | f82b2c344994f23c003c967fb833d1a0d7b2527f (patch) | |
tree | e356d2765b5e45d1cdb1b96f99d7d53bed7def6b /drivers/hwmon/wm831x-hwmon.c | |
parent | 11f7e494fd726c119c6f576b4cf1dc09e9f665b8 (diff) | |
download | talos-op-linux-f82b2c344994f23c003c967fb833d1a0d7b2527f.tar.gz talos-op-linux-f82b2c344994f23c003c967fb833d1a0d7b2527f.zip |
hwmon: (ads7828) Convert to devm_hwmon_device_register_with_groups
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/wm831x-hwmon.c')
0 files changed, 0 insertions, 0 deletions