[PATCH v4 2/4] drm/panel: jdi-lpm102a188a: Fix bug and clean up driver
Doug Anderson
dianders at chromium.org
Fri Jul 18 16:11:20 UTC 2025
Hi,
On Thu, Jul 17, 2025 at 9:41 AM Brigham Campbell <me at brighamcampbell.com> wrote:
>
> static int jdi_panel_prepare(struct drm_panel *panel)
> {
> struct jdi_panel *jdi = to_panel_jdi(panel);
> + struct mipi_dsi_multi_context dsi_ctx = { .accum_err = 0 };
nit: can just be this:
struct mipi_dsi_multi_context dsi_ctx = {};
This looks so nice and clean now! :-) I'd bet that the compiled size
of the code is also quite a bit smaller as well...
Reviewed-by: Douglas Anderson <dianders at chromium.org>
More information about the dri-devel
mailing list