drm/edid: use a temp variable for sads to drop one level of dereferences
authorJani Nikula <jani.nikula@intel.com>
Tue, 31 Oct 2023 10:16:41 +0000 (12:16 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 9 Nov 2023 14:47:49 +0000 (16:47 +0200)
commite8d0b2c06fd779709baea71d5e8bfd99b2116518
tree7fb2287b10ca1b0e59232591a74dedb092943f3e
parent439590ace7755657523a1a0230c6099cb0a6e15f
drm/edid: use a temp variable for sads to drop one level of dereferences

Use a temporary variable struct cea_sad *, instead of using struct
cea_sad ** directly with the double dereferences. It's arguably easier
on the eyes, and drops a set of parenthesis too.

Cc: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b6e2f295ae5491c2bb0f528508f0f5fca921dc77.1698747331.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c