(subset) [PATCH] drm: bridge: simple-bridge: use devm_drm_bridge_add in probe

Maxime Ripard mripard at kernel.org
Wed Jun 19 09:05:35 UTC 2024


On Tue, 18 Jun 2024 18:19:59 +0200, Marc Gonzalez wrote:
> 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.
> 
> [...]

Applied to misc/kernel.git (drm-misc-next).

Thanks!
Maxime



More information about the dri-devel mailing list