On Tue, Jun 18, 2024 at 06:19:59PM GMT, 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. > > Signed-off-by: Marc Gonzalez <[email protected]> > --- > This patch was proposed in an abandoned patch series, > but it makes sense by itself. Submit now. > https://lore.kernel.org/r/[email protected] > --- > drivers/gpu/drm/bridge/simple-bridge.c | 13 +------------ > 1 file changed, 1 insertion(+), 12 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
