]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (smm665) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 2 Jul 2014 12:26:32 +0000 (20:26 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
commitbba748d7a52e01bfc344e984efc9fbec89fd5e86
tree92f6f84e4ab495a6afcafea5d0a83472dc30c596
parentb32abe39923b6ddf77f8692283a97a7e718dc2f6
hwmon: (smm665) 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>
drivers/hwmon/smm665.c