Commit 76ba5467 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai
Browse files

drm/panel: visionox-rm69299: Remove redundant assignments of panel fields



drm_panel_init() was made to initialize the fields in |struct drm_panel|.
There is no need to separately initialize them again.

Drop the separate assignments that are redundant. Also fix up any uses
of `ctx->panel.dev` to use `dev` directly.

Reviewed-by: default avatarJessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241204093942.1374693-1-wenst@chromium.org


Signed-off-by: default avatarChen-Yu Tsai <wenst@chromium.org>
parent 84e541b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment