drm/bridge: ps8640: Switch to devm MIPI-DSI helpers
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 15:15:26 +0000 (17:15 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 27 Oct 2021 20:07:57 +0000 (22:07 +0200)
commitfe93ae800eb846d435359b2d689410fdfc03f868
treef654f1a6e9123d8b0632cfcb6b5ca2ee876f725b
parent4a46ace5ac621c0f84b3910bc3c93acf6c93963b
drm/bridge: ps8640: 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 on removal.

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