mbox series

[0/6] drm/i915: Clean up zero initializers

Message ID 20231012122442.15718-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Clean up zero initializers | expand

Message

Ville Syrjälä Oct. 12, 2023, 12:24 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Unify the array/struct zero initialization to use the least
awkward form (= {}).

Ville Syrjälä (6):
  drm/i915/display: Clean up zero initializers
  drm/i915/hdcp: Clean up zero initializers
  drm/i915/guc: Clean up zero initializers
  drm/i915/pci: Clean up zero initializers
  drm/i915/pxp: Clean up zero initializers
  drm/i915/gvt: Clean up zero initializers

 drivers/gpu/drm/i915/display/intel_acpi.c     |  2 +-
 drivers/gpu/drm/i915/display/intel_cx0_phy.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |  6 +--
 .../drm/i915/display/intel_dp_aux_backlight.c |  4 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |  2 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c    |  2 +-
 .../drm/i915/display/intel_hdcp_gsc_message.c | 44 +++++++++----------
 .../drm/i915/display/intel_plane_initial.c    |  2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c     |  2 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c |  2 +-
 drivers/gpu/drm/i915/display/intel_wm.c       |  2 +-
 .../gpu/drm/i915/gt/uc/intel_guc_capture.c    |  4 +-
 drivers/gpu/drm/i915/gvt/cmd_parser.c         |  2 +-
 drivers/gpu/drm/i915/gvt/fb_decoder.c         |  6 +--
 drivers/gpu/drm/i915/gvt/handlers.c           |  2 +-
 drivers/gpu/drm/i915/i915_pci.c               |  2 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.c    |  8 ++--
 drivers/gpu/drm/i915/pxp/intel_pxp_huc.c      |  4 +-
 drivers/gpu/drm/i915/pxp/intel_pxp_tee.c      |  8 ++--
 19 files changed, 52 insertions(+), 54 deletions(-)

Comments

Jani Nikula Oct. 12, 2023, 3:01 p.m. UTC | #1
On Thu, 12 Oct 2023, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Unify the array/struct zero initialization to use the least
> awkward form (= {}).

Yes, please!

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

on the series




>
> Ville Syrjälä (6):
>   drm/i915/display: Clean up zero initializers
>   drm/i915/hdcp: Clean up zero initializers
>   drm/i915/guc: Clean up zero initializers
>   drm/i915/pci: Clean up zero initializers
>   drm/i915/pxp: Clean up zero initializers
>   drm/i915/gvt: Clean up zero initializers
>
>  drivers/gpu/drm/i915/display/intel_acpi.c     |  2 +-
>  drivers/gpu/drm/i915/display/intel_cx0_phy.c  |  2 +-
>  drivers/gpu/drm/i915/display/intel_dp.c       |  6 +--
>  .../drm/i915/display/intel_dp_aux_backlight.c |  4 +-
>  drivers/gpu/drm/i915/display/intel_dp_mst.c   |  2 +-
>  drivers/gpu/drm/i915/display/intel_gmbus.c    |  2 +-
>  .../drm/i915/display/intel_hdcp_gsc_message.c | 44 +++++++++----------
>  .../drm/i915/display/intel_plane_initial.c    |  2 +-
>  drivers/gpu/drm/i915/display/intel_sdvo.c     |  2 +-
>  drivers/gpu/drm/i915/display/intel_snps_phy.c |  2 +-
>  drivers/gpu/drm/i915/display/intel_wm.c       |  2 +-
>  .../gpu/drm/i915/gt/uc/intel_guc_capture.c    |  4 +-
>  drivers/gpu/drm/i915/gvt/cmd_parser.c         |  2 +-
>  drivers/gpu/drm/i915/gvt/fb_decoder.c         |  6 +--
>  drivers/gpu/drm/i915/gvt/handlers.c           |  2 +-
>  drivers/gpu/drm/i915/i915_pci.c               |  2 +-
>  drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.c    |  8 ++--
>  drivers/gpu/drm/i915/pxp/intel_pxp_huc.c      |  4 +-
>  drivers/gpu/drm/i915/pxp/intel_pxp_tee.c      |  8 ++--
>  19 files changed, 52 insertions(+), 54 deletions(-)