aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorMarc Gonzalez <mgonzalez@freebox.fr>2024-06-18 18:19:59 +0200
committerMaxime Ripard <mripard@kernel.org>2024-06-19 10:50:30 +0200
commitfbda4b254042250d390dc74b058ad1a9a29dacbd (patch)
tree6dfdfedddabb2cb2106cecaa32930e6fa79891c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parent1ac6ac9ec069ed0cfdb1c207ae23f6c40ac57437 (diff)
drm: bridge: simple-bridge: use devm_drm_bridge_add in probe
simple_bridge_probe() calls drm_bridge_add() Thus, drm_bridge_remove() must be called in the remove() callback. If we call devm_drm_bridge_add() instead, then drm_bridge_remove() will be called automatically at device release, and the remove() callback is no longer required. Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240618-devm-simple-bridge-v1-1-c7ed8a09fcc5@freebox.fr
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions