]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/edid: Use ARRAY_SIZE in drm_add_modes_noedid
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Aug 2015 09:55:37 +0000 (11:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Aug 2015 10:04:16 +0000 (12:04 +0200)
commitfbb40b285713cbb992466df8c838edb217e98fa6
tree814ba921a0b10c2c95dc74b80ab031d886089de7
parent2143287d4ed7b7c712aa053f0fb592cdcb71525e
drm/edid: Use ARRAY_SIZE in drm_add_modes_noedid

Spotted while reading code for random reasons.

Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_edid.c