[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqLcqpGa=sc9niVK=-4LtVyr3jtUBcQJ2pNsafc3PQpj_g@mail.gmail.com>
Date: Fri, 1 Dec 2023 07:39:04 -0600
From: Rob Herring <robh@...nel.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Paul Burton <paulburton@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [RESEND PATCH] auxdisplay: img-ascii-lcd: Use device_get_match_data()
On Thu, Nov 30, 2023 at 12:55 PM Miguel Ojeda
<miguel.ojeda.sandonis@...il.com> wrote:
>
> On Wed, Nov 15, 2023 at 10:02 PM Rob Herring <robh@...nel.org> wrote:
> >
> > + cfg = device_get_match_data(&pdev->dev);
>
> This sounds good to me, but a couple notes:
>
> - This could be `dev` since we have it, no?
>
> - Orthogonally, should we just directly initialize `cfg` since now we can?
>
> Cc'ing Geert as well since he was the last one touching the file (in
> fact, he added the `dev` variable).
Can you fix that up while applying? This patch has only been ignored
for 2 months.
I really only care about getting the includes right so I can apply this[1].
Rob
[1] https://lore.kernel.org/all/20231129164316.2663565-1-robh@kernel.org/
Powered by blists - more mailing lists