hwmon: (core) Finish renaming groups parameter in API to extra_groups
authorJames Seo <james@equiv.tech>
Sun, 7 May 2023 15:10:53 +0000 (08:10 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Jun 2023 13:41:18 +0000 (06:41 -0700)
commit3b9da0422a7b597cfde3d9d7dfec0b5b065c4824
tree42ea68610ef21613dd77eddd41e816ac6b4edf3b
parentfe6ac23777ef70c17aa7333400ede88e364fbd36
hwmon: (core) Finish renaming groups parameter in API to extra_groups

Commit 848ba0a2f20d ("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: James 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: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hwmon.c