summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_sysfs.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2023-08-29 14:39:09 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2023-09-15 14:45:00 +0300
commit83a30739970857d3a2d8b8f2f62f829231347b5f (patch)
treeea864c2a3040b99e116ef1700f23ff0dc0526658 /drivers/gpu/drm/drm_sysfs.c
parenta3f9e4bc1ec9d8f1e352eb7c1cbaea3168246be7 (diff)
downloadlinux-stable-83a30739970857d3a2d8b8f2f62f829231347b5f.tar.gz
linux-stable-83a30739970857d3a2d8b8f2f62f829231347b5f.tar.bz2
linux-stable-83a30739970857d3a2d8b8f2f62f829231347b5f.zip
drm: Reorder drm_sysfs_connector_remove() vs. drm_debugfs_connector_remove()
Use the standard onion peeling approach and call drm_debugfs_connector_remove() and drm_sysfs_connector_remove() in the reverse order in drm_connector_unregister() than what we called their add counterpartse in drm_connector_register(). The error unwiding in drm_connector_register() is already doing this the correct way around. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230829113920.13713-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> #irc
Diffstat (limited to 'drivers/gpu/drm/drm_sysfs.c')
0 files changed, 0 insertions, 0 deletions