mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drivers: base: devres: Fix find_group() documentation
It returns the last open group, not the last group. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250222001051.3012936-3-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
@@ -576,7 +576,10 @@ void *devres_open_group(struct device *dev, void *id, gfp_t gfp)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(devres_open_group);
|
||||
|
||||
/* Find devres group with ID @id. If @id is NULL, look for the latest. */
|
||||
/*
|
||||
* Find devres group with ID @id. If @id is NULL, look for the latest open
|
||||
* group.
|
||||
*/
|
||||
static struct devres_group *find_group(struct device *dev, void *id)
|
||||
{
|
||||
struct devres_node *node;
|
||||
|
||||
Reference in New Issue
Block a user