drm/bridge: anx7625: switch to devm_drm_of_get_bridge
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 21 Feb 2022 07:28:35 +0000 (08:28 +0100)
committerRobert Foss <robert.foss@linaro.org>
Wed, 9 Mar 2022 14:54:27 +0000 (15:54 +0100)
commit9e82ea0fb1dfc6eef917ff69f909b39dbaa38702
tree549e8e8f8af947a9b4e8aff0e7093030239e6d1a
parenta134109c301736ea2ac5054ba3c29c30c87f6ba7
drm/bridge: anx7625: 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>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220221072835.10032-1-jose.exposito89@gmail.com
drivers/gpu/drm/bridge/analogix/anx7625.c