Re: [PATCH v4 4/6] drm/ssd130x: Replace positional ssd130x_spi_id[] initialization with C99

Amit Barzilai <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <CAOEgbEoMOR+WS7TzY5+k6G464uUdp+rHJqvhY+6gRE8nCaT=gQ@mail.gmail.com>
On Tue, Aug 18, 2026 at 11:41 AM Andy Shevchenko
<[email protected]> wrote:

> >  static const struct spi_device_id ssd130x_spi_id[] = {
> >       /* ssd130x family */
> > +     { .name = "sh1106", .driver_data = SH1106_ID },
>
> Hmm... Is the comment correct for sh1106?
>
> >       /* ssd132x family */
> >       /* ssd133x family */
>
> Overall, what do these comment bring us? Are those families have something in
> common? Because the driver data is unique for each device, so I assume it's not
> that compatible inside even the same families.
>
> TL;DR: Perhaps simply drop those comments for once?

Agreed, I'll remove the comments in v5.

-- 
Thanks,
Amit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.