Skip to content

Commit 28ec6c5

Browse files
committed
drm/i915/pci: Clean up zero initializers
Just use a simple {} to zero initialize arrays/structs instead of the hodgepodge of stuff we are using currently. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]>
1 parent cc01b0f commit 28ec6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ static const struct pci_device_id pciidlist[] = {
923923
INTEL_DG2_IDS(&dg2_info),
924924
INTEL_ATS_M_IDS(&ats_m_info),
925925
INTEL_MTL_IDS(&mtl_info),
926-
{0, 0, 0}
926+
{}
927927
};
928928
MODULE_DEVICE_TABLE(pci, pciidlist);
929929

0 commit comments

Comments
 (0)