staging: media: atomisp: Use C99 initializers for ACPI IDs
Subsystems (4)
PATCH v2 1/1 staging: media: atomisp: Use C99 initializers for ACPI IDs
Use designated initializers for the ACPI ID tables.
Signed-off-by Lalit Shankar Chowdhury <[email protected]>
--- drivers/staging/media/atomisp/i2c/atomisp-gc2235.c | 4 ++-- drivers/staging/media/atomisp/i2c/atomisp-ov2722.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c +2 -2
@@ -857,8 +857,8 @@ static int gc2235_probe(struct i2c_client *client) }static const struct acpi_device_id gc2235_acpi_match[] = { - {"INT33F8" }, - {}, + { .id ="INT33F8" }, + { } };MODULE_DEVICE_TABLE (acpi, gc2235_acpi_match);
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c +2 -2
@@ -995,8 +995,8 @@ static int ov2722_probe(struct i2c_client *client) }static const struct acpi_device_id ov2722_acpi_match[] = { - {"INT33FB" }, - {}, + { .id ="INT33FB" }, + { } };MODULE_DEVICE_TABLE (acpi, ov2722_acpi_match);
Signature · 1 line
2.53.0
Quoted 5 lines · Lalit Shankar Chowdhury
Use designated initializers for the ACPI ID tables.
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c | 4 ++-- drivers/staging/media/atomisp/i2c/atomisp-ov2722.c | 4 ++--
These drivers should be gone in the future (and the regular ones from v4l2 should be in use), but so far if somebody is happy to take this patch,
Reviewed-by Andy Shevchenko <[email protected]>
Signature · 2 lines
With Best Regards, Andy Shevchenko