diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-10-17 03:20:43 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-12-10 08:54:22 +0300 |
commit | 848ba0a2f20dc121a3ef5272a24641d2bd963d8b (patch) | |
tree | 6a6c7984c087709f82bce33bd140fd90bebfcd8d /include/linux/hwmon.h | |
parent | b2a4cc3a060da0de17ab1e854cef89f5e74e2064 (diff) | |
download | linux-848ba0a2f20dc121a3ef5272a24641d2bd963d8b.tar.xz |
hwmon: (core) Rename groups parameter in API to extra_groups
The 'groups' parameter of hwmon_device_register_with_info() and
devm_hwmon_device_register_with_info() is only necessary if extra
non-standard attributes need to be provided. Rename the parameter
to extra_groups and clarify the documentation.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/hwmon.h')
-rw-r--r-- | include/linux/hwmon.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h index 2588e6ee7660..78d59dba563e 100644 --- a/include/linux/hwmon.h +++ b/include/linux/hwmon.h @@ -377,12 +377,12 @@ struct device * hwmon_device_register_with_info(struct device *dev, const char *name, void *drvdata, const struct hwmon_chip_info *info, - const struct attribute_group **groups); + const struct attribute_group **extra_groups); struct device * devm_hwmon_device_register_with_info(struct device *dev, - const char *name, void *drvdata, - const struct hwmon_chip_info *info, - const struct attribute_group **groups); + const char *name, void *drvdata, + const struct hwmon_chip_info *info, + const struct attribute_group **extra_groups); void hwmon_device_unregister(struct device *dev); void devm_hwmon_device_unregister(struct device *dev); |