]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: tc358775: Switch to devm MIPI-DSI helpers
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 15:15:33 +0000 (17:15 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 27 Oct 2021 20:07:58 +0000 (22:07 +0200)
commitb954f5b105e87417c03e8c26a49bac128eb02370
treec07341360d7394e2b49e391ff7ec221f00b03869
parentbf8c2e35f67703d3e88065842abff26bbabd5ad7
drm/bridge: tc358775: Switch to devm MIPI-DSI helpers

Let's switch to the new devm MIPI-DSI function to register and attach
our secondary device. This also avoids leaking the device when we detach
the bridge.

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025151536.1048186-19-maxime@cerno.tech
drivers/gpu/drm/bridge/tc358775.c