Re: [PATCH] staging: media: atomisp: Use C99 initializers for ACPI IDs

From: Andy Shevchenko

Date: Sun Sep 06 2026 - 03:33:07 EST


On Sun, Sep 6, 2026 at 3:53 AM Lalit Shankar Chowdhury
<lalitshankarch@xxxxxxxxx> wrote:
>
> Use designated initializers for the ACPI ID tables.

...

> static const struct acpi_device_id gc2235_acpi_match[] = {
> - { "INT33F8" },
> - {},
> + { .id = "INT33F8" },
> + { },

Follow the agreed style for the terminator entry. See Uwe's patches as
an example.

> };

...

> static const struct acpi_device_id ov2722_acpi_match[] = {
> - { "INT33FB" },
> - {},
> + { .id = "INT33FB" },
> + { },

Ditto.

> };

--
With Best Regards,
Andy Shevchenko