Home
last modified time | relevance | path

Searched hist:"398 e16db62620dd80a237c5043bec5c9335ac92c" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dg762.cdiff 398e16db62620dd80a237c5043bec5c9335ac92c Sat Jul 19 16:29:44 CEST 2014 Axel Lin <axel.lin@ingics.com> hwmon: (g762) Convert to hwmon_device_register_with_groups

Use ATTRIBUTE_GROUPS macro and hwmon_device_register_with_groups() to simplify
the code a bit.

Use hwmon_device_register_with_groups rather than the device managed version to
ensure g762_of_clock_disable() is called after hwmon_device_unregister().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>