Commit 0ecbb45e authored by Shyam Saini's avatar Shyam Saini Committed by Greg Kroah-Hartman
Browse files

kernel: param: rename locate_module_kobject



[ Upstream commit bbc9462f ]

The locate_module_kobject() function looks up an existing
module_kobject for a given module name. If it cannot find the
corresponding module_kobject, it creates one for the given name.

This commit renames locate_module_kobject() to
lookup_or_create_module_kobject() to better describe its operations.

This doesn't change anything functionality wise.

Suggested-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarShyam Saini <shyamsaini@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250227184930.34163-2-shyamsaini@linux.microsoft.com


Signed-off-by: default avatarPetr Pavlu <petr.pavlu@suse.com>
Stable-dep-of: f95bbfe1 ("drivers: base: handle module_kobject creation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent baa3ebba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment