Hi Marek, On Sun, Jun 12, 2022 at 12:29:18PM +0200, Marek Vasut wrote: > The DSI lane count can be accessed via the dsi device pointer, make use > of that. The DSI host pointer is only used in sn65dsi83_host_attach(), > move the code around so that the host does not have to be cached in the > driver private data. This simplifies the code further. No functional > change. > > This has the added bonus that lt9211, tc358767, sn65dsi83 now use very > similar *_mipi_dsi_host_attach() which is ripe for deduplication. > > Signed-off-by: Marek Vasut <marex@xxxxxxx> > Cc: Andrzej Hajda <andrzej.hajda@xxxxxxxxx> > Cc: Laurent Pinchart <Laurent.pinchart@xxxxxxxxxxxxxxxx> > Cc: Lucas Stach <l.stach@xxxxxxxxxxxxxx> > Cc: Maxime Ripard <maxime@xxxxxxxxxx> > Cc: Robert Foss <robert.foss@xxxxxxxxxx> > Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Looks OK, Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>