diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-10-12 15:24:40 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-10-16 19:10:10 +0300 |
commit | 28ec6c558e9f758ec93e8e964b6daeaf642c64c1 (patch) | |
tree | 3714224cb9558a9204bcf8b82d7f6ec981e7d49e /drivers/gpu/drm/i915/i915_pci.c | |
parent | cc01b0ff18947223fdbe723275e47805965a7790 (diff) | |
download | linux-28ec6c558e9f758ec93e8e964b6daeaf642c64c1.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index df7c261410f7..454467cfa52b 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -923,7 +923,7 @@ static const struct pci_device_id pciidlist[] = { INTEL_DG2_IDS(&dg2_info), INTEL_ATS_M_IDS(&ats_m_info), INTEL_MTL_IDS(&mtl_info), - {0, 0, 0} + {} }; MODULE_DEVICE_TABLE(pci, pciidlist); |