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 <[email protected]> > Cc: Andrzej Hajda <[email protected]> > Cc: Laurent Pinchart <[email protected]> > Cc: Lucas Stach <[email protected]> > Cc: Maxime Ripard <[email protected]> > Cc: Robert Foss <[email protected]> > Cc: Sam Ravnborg <[email protected]>
Looks OK, Acked-by: Sam Ravnborg <[email protected]>
