diff options
| author | Marc Gonzalez <[email protected]> | 2024-06-18 18:19:59 +0200 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2024-06-19 10:50:30 +0200 |
| commit | fbda4b254042250d390dc74b058ad1a9a29dacbd (patch) | |
| tree | 6dfdfedddabb2cb2106cecaa32930e6fa79891c1 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | 1ac6ac9ec069ed0cfdb1c207ae23f6c40ac57437 (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 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions