drm/edid: restore some type safety to cea_db_*() functions
authorJani Nikula <jani.nikula@intel.com>
Tue, 3 May 2022 09:24:01 +0000 (12:24 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 5 May 2022 17:28:34 +0000 (20:28 +0300)
commit49a62a2923e523e5359219ed54d643c60f3374f8
tree6eff288eeaebce05e3233d6aaf00eedd187c5754
parent2af243444f9100639451b11d311982279e00cc16
drm/edid: restore some type safety to cea_db_*() functions

During the transition, we accepted a void pointer for a poor C
programmer's version of polymorphism. Switch the functions to use struct
cea_db * to regain some more type safety.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/c6ad496cdadea1bb598711a65ef536f4a43b74a7.1651569697.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c