]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9713529ac6c9f92e80991aa7db5810ed5312ed9a
tree25d0009127b5af5fbe10d51ee022da4243fb48da
parent85ba25757374f9045ae07211a64ad8d4a2e220ce
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