]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5efcfd2fc7a1ac2159b9a998f9b394821e3c9641
tree6eff288eeaebce05e3233d6aaf00eedd187c5754
parent60bf04d45c62d073cf43475249fc5ea133a10d19
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