]> Gentwo Git Trees - linux/.git/commit
drm/xe/configfs: Use config_group_put()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 5 Sep 2025 16:22:37 +0000 (09:22 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 8 Sep 2025 14:39:47 +0000 (07:39 -0700)
commit956f5e5bc80a223cdeaae010bafc17d2ee0c7276
treecb9786ec2cb1c3c6e35a7f33539cf68f6c0933d0
parentcf423b928f27f5228c7942c1b270988c87b2f25b
drm/xe/configfs: Use config_group_put()

configfs has a config_group_put() helper that was adopted by
commit 88df7939d728 ("drm/xe/configfs: Rename struct xe_config_device").
Another pending work to add psmi later landed in commit
afe902848b41 ("drm/xe/configfs: Allow to enable PSMI") and didn't use
the helper.

Use config_group_put() consistently to hide the inner workings of
configfs. No change in behavior since it does exactly the same thing
as currently being done.

Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20250905162236.578117-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_configfs.c