aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-starfive.c
diff options
context:
space:
mode:
authorMarc Gonzalez <[email protected]>2024-06-18 18:19:59 +0200
committerMaxime Ripard <[email protected]>2024-06-19 10:50:30 +0200
commitfbda4b254042250d390dc74b058ad1a9a29dacbd (patch)
tree6dfdfedddabb2cb2106cecaa32930e6fa79891c1 /drivers/usb/cdns3/cdns3-starfive.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 <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions