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ä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231012122442.15718-5-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
1 parent cc01b0f commit 28ec6c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)