Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

Andy Shevchenko
2018-01-31T12:27:55Z

On Wed, Jan 31, 2018 at 2:03 PM, Pali Rohár <pali.rohar@gmail.com> wrote:
> On Sunday 28 January 2018 17:00:35 Andy Shevchenko wrote:
>> On Sun, Jan 28, 2018 at 4:45 PM, Pali Rohár <pali.rohar@gmail.com> wrote:

>> > ACPI device name is SMO8800, SMO8810, ... Will that acpi_dev_present
>> > function match only prefix and not exact string?
>>
>> OK, fair enough.
>>
>> Do we have more users of such pattern?
>
> I have not seen this ACPI pattern yet, so probably not.

I see. So, my one concern is the implicit names of the devices. I
would like rather to see

... acpi_device_id ... []= {
{"SMO8800"},
{"SMO8810"},
...
{}
};

--
With Best Regards,
Andy Shevchenko