aboutsummaryrefslogtreecommitdiff
path: root/lib/test_module.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-07-26 15:40:15 +0200
committerAlex Deucher <alexander.deucher@amd.com>2024-07-27 17:35:05 -0400
commitaeb81b62c7fe4782198e9dd79c7d6cdf04d92586 (patch)
tree0a7bdaeeac1d86c787f6ee4303c3bb2cfc79b8f8 /lib/test_module.c
parent608d886c978cd5f3d8650630568d96c231845227 (diff)
drm/amdgpu: convert bios_hardcoded_edid to drm_edid
Instead of manually passing around 'struct edid *' and its size, use 'struct drm_edid', which encapsulates a validated combination of both. As the drm_edid_ can handle NULL gracefully, the explicit checks can be dropped. Also save a few characters by transforming '&array[0]' to the equivalent 'array' and using 'max_t(int, ...)' instead of manual casts. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions