Skip to content
Commit 3b9da042 authored by James Seo's avatar James Seo Committed by Guenter Roeck
Browse files

hwmon: (core) Finish renaming groups parameter in API to extra_groups



Commit 848ba0a2 ("hwmon: (core) Rename groups parameter in API to
extra_groups") renames the 'groups' parameter of
devm_hwmon_device_register_with_info() to 'extra_groups' in
hwmon-kernel-api.txt (later .rst) and hwmon.h, but this change was not
propagated to the function code itself in hwmon.c. Finish the job.

Note that hwmon_device_register_with_info() has the same
parameter, and the name of that parameter was changed in all
three files. Harmonizing the name between these related
functions also removes a potential source of confusion.

Signed-off-by: default avatarJames Seo <james@equiv.tech>
Link: https://lore.kernel.org/r/20230507151051.1861929-1-james@equiv.tech


[groeck: Fixed up SHA reference in description]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent fe6ac237
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment