drm/atomic: Clean up steal_encoder, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 3 Mar 2016 09:17:41 +0000 (10:17 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Mar 2016 10:06:41 +0000 (11:06 +0100)
commitec5aaa586fe0d826b6e65a60756b9bbf4d93e011
treeaf0167cc5185b318f3de3ffceb2bed955bbe0196
parent8248b65df653c0a536bdd64f8a6c8bb150bfdd60
drm/atomic: Clean up steal_encoder, v2.

Now that only encoders can be stolen that are part of the state
steal_encoder no longer needs to inspect all connectors,
just those that are part of the atomic state.

Changes since v1:
- Change return value to void, can no longer fail.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[danvet: Appease gcc, reported by kbuild.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1456996662-8704-7-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/drm_atomic_helper.c