drm/fb_helper: Use correct allocation count for arrays.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 15 Feb 2016 12:45:15 +0000 (13:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Feb 2016 13:54:55 +0000 (14:54 +0100)
commit383b2e57115a882a679b9defb6c34429667926d5
tree4cae51bdb12cfba991387d21f95808fb28bc734d
parent4d32c0d82380bb6985250839d8cee8a102137685
drm/fb_helper: Use correct allocation count for arrays.

The fb helper iterates over connectors, using fb_helper->num_connectors
makes it more clear what size the allocations are.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1455540316-17066-1-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/drm_fb_helper.c