[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240122104334.GD8596@aspen.lan>
Date: Mon, 22 Jan 2024 10:43:34 +0000
From: Daniel Thompson <daniel.thompson@...aro.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Javier Martinez Canillas <javierm@...hat.com>,
dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Jingoo Han <jingoohan1@...il.com>,
Lee Jones <lee@...nel.org>, Helge Deller <deller@....de>
Subject: Re: [PATCH v1 2/4] backlight: hx8357: Move OF table closer to its
consumer
On Sun, Jan 21, 2024 at 03:49:23PM +0200, Andy Shevchenko wrote:
> On Mon, Jan 15, 2024 at 09:22:19AM +0100, Javier Martinez Canillas wrote:
> > Andy Shevchenko <andriy.shevchenko@...ux.intel.com> writes:
>
> ...
>
> > > + {}
> >
> > While at it, maybe add the { /* sentinel */ } convention to the last entry ?
>
> Maybe. Is it a common for this subsystem?
I'd answer that slightly differently. Backlight does not aspire to be
special regarding this sort of thing. If this pattern is becoming common
within the rest of the kernel then its absolutely fine to use it here!
There are certainly backlights that use this convention... although they
are not yet the majority.
Daniel.
Powered by blists - more mailing lists