drm/bridge: parade-ps8640: switch to devm_drm_of_get_bridge
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 28 Feb 2022 18:31:31 +0000 (19:31 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 8 Mar 2022 11:07:29 +0000 (12:07 +0100)
commit5486eac81004febf512c6d344cd8f612a1e597ae
tree3f8f1b2aa783c33712e6e87f70dc1da67cf01848
parent55ad1a56b4f991f9879f4f5019f485fa713426ae
drm/bridge: parade-ps8640: switch to devm_drm_of_get_bridge

The function "drm_of_find_panel_or_bridge" has been deprecated in
favor of "devm_drm_of_get_bridge".

Switch to the new function and reduce boilerplate.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220228183131.23494-1-jose.exposito89@gmail.com
drivers/gpu/drm/bridge/parade-ps8640.c