Named initializers are better readable and more robust to changes of the struct definition. This change isn't needed for the planned change to struct acpi_device_id replacing .driver_data by an anonymous union but aligns this driver to the common style to define such arrays.
Signed-off-by: Uwe Kleine-König <[email protected]> --- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c index 4874ee864b80..9175680b6a81 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c @@ -1729,7 +1729,7 @@ bool amdgpu_acpi_is_s0ix_active(struct amdgpu_device *adev) #if IS_ENABLED(CONFIG_DRM_AMD_ISP) static const struct acpi_device_id isp_sensor_ids[] = { - { "OMNI5C10" }, + { .id = "OMNI5C10" }, { } }; -- 2.56.0.rc1
