mbox series

[v3,0/1] Remove Connector iterator macro

Message ID 20221020104635.874860-1-suraj.kandpal@intel.com (mailing list archive)
Headers show
Series Remove Connector iterator macro | expand

Message

Suraj Kandpal Oct. 20, 2022, 10:46 a.m. UTC
Remove connector iterator macro (for_each_connector_on_encoder)
as it is only used once and changing the function to use macros
currently present.

--v2
-remove bogus indentation [Ville]
-change found_connector to intel_connector struct and return
that, bypassing a check [Ville]

--v3
-use a imperative mood in subject and commit message [Jani]

Suraj Kandpal (1):
  drm/i915: Remove one use macro

 drivers/gpu/drm/i915/display/intel_display.h     |  4 ----
 .../gpu/drm/i915/display/intel_modeset_setup.c   | 16 ++++++++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

Comments

Shankar, Uma Oct. 21, 2022, 7:26 a.m. UTC | #1
> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf Of Suraj
> Kandpal
> Sent: Thursday, October 20, 2022 4:17 PM
> To: intel-gfx@lists.freedesktop.org
> Cc: Nikula, Jani <jani.nikula@intel.com>
> Subject: [Intel-gfx] [PATCH v3 0/1] Remove Connector iterator macro
> 
> Remove connector iterator macro (for_each_connector_on_encoder) as it is only
> used once and changing the function to use macros currently present.
> 
> --v2
> -remove bogus indentation [Ville]
> -change found_connector to intel_connector struct and return that, bypassing a
> check [Ville]
> 
> --v3
> -use a imperative mood in subject and commit message [Jani]

Pushed to drm-intel-next. Thanks for the patch and reviews.

Regards,
Uma Shankar

> Suraj Kandpal (1):
>   drm/i915: Remove one use macro
> 
>  drivers/gpu/drm/i915/display/intel_display.h     |  4 ----
>  .../gpu/drm/i915/display/intel_modeset_setup.c   | 16 ++++++++++++----
>  2 files changed, 12 insertions(+), 8 deletions(-)
> 
> --
> 2.25.1