drm/bridge: tc358767: Do not cache dsi_lanes twice
authorMarek Vasut <marex@denx.de>
Fri, 24 Jun 2022 18:19:02 +0000 (20:19 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 28 Jun 2022 23:44:47 +0000 (01:44 +0200)
commit5bdaaf4fbf85d47d08f76f41108d8d3bbdf15f1c
tree25d0009127b5af5fbe10d51ee022da4243fb48da
parent50ca65b44e50e66e370f34e83a1d04a41bbffb70
drm/bridge: tc358767: Do not cache dsi_lanes twice

The DSI lane count can be accessed via the dsi device pointer,
make use of that. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220624181902.151959-1-marex@denx.de
drivers/gpu/drm/bridge/tc358767.c