Re: [PATCH v1 2/3] auxdisplay: ht16k33: Make use of device_get_match_data()
From: Andy Shevchenko
Date: Thu Feb 23 2023 - 06:53:28 EST
On Thu, Feb 23, 2023 at 10:55:15AM +0100, Geert Uytterhoeven wrote:
> On Wed, Feb 22, 2023 at 8:21 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > On Wed, Feb 22, 2023 at 07:46:25PM +0100, Krzysztof Kozlowski wrote:
...
> > I.o.w. the part after comma in the compatible strings of the I²C devices must
> > be unique globally to make that enumeration disambiguous.
>
> Which is not unique to this driver?
> I bet you can find other compatible values that become non-unique
> after stripping the manufacturer.
Yes, exactly my point.
So this all schema is error prone. Hence I would not rely on it at all.
--
With Best Regards,
Andy Shevchenko