Home
last modified time | relevance | path

Searched hist:"3 b9da0422a7b597cfde3d9d7dfec0b5b065c4824" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dhwmon.cdiff 3b9da0422a7b597cfde3d9d7dfec0b5b065c4824 Sun May 07 17:10:53 CEST 2023 James Seo <james@equiv.tech> 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>