[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <uar66c2tl6esj4ecce3nwskplpphuarq43su6nwqriv6tmvkl4@gyjqcfahhpto>
Date: Thu, 5 Dec 2024 21:37:45 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Chen-Yu Tsai <wenst@...omium.org>
Cc: Neil Armstrong <neil.armstrong@...aro.org>,
Jessica Zhang <quic_jesszhan@...cinc.com>, Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] drm/panel: visionox-rm69299: Remove redundant
assignments of panel fields
On Wed, Dec 04, 2024 at 05:39:41PM +0800, Chen-Yu Tsai wrote:
> 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.
>
> Signed-off-by: Chen-Yu Tsai <wenst@...omium.org>
> ---
> Changes since v1:
> - Also fix uses of `ctx->panel.dev`
>
> drivers/gpu/drm/panel/panel-visionox-rm69299.c | 9 ++-------
> 1 file changed, 2 insertions(+), 7 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
--
With best wishes
Dmitry
Powered by blists - more mailing lists