Re: [PATCH v3 6/6] iio: light: ltr501: Fix sorting order of device arrays

Andy Shevchenko <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
On Tue, Aug 04, 2026 at 07:02:17PM +0200, Esben Haabendal wrote:
> Using alphanumerical sort order for these should help reduce merge
> conflicts.

...

>  enum {
> -	ltr501 = 0,
> -	ltr559,
> -	ltr301,

> +	ltr301 = 0,

Is the 0 required? Why?

>  	ltr303,
>  	ltr329,
> +	ltr501,
> +	ltr559,
>  };

-- 
With Best Regards,
Andy Shevchenko
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.