drm: Simplify drm_for_each_legacy_plane arguments
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Jul 2015 21:44:24 +0000 (23:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Jul 2015 14:25:45 +0000 (16:25 +0200)
commit4ea50e99bd3501aea394aa7a9e9bd3115faabf37
tree48bdfe69ab74031be988747f9ce8433f1d2f16f7
parente0548f1979bfee900fb0671a5dd3a2f217dce5df
drm: Simplify drm_for_each_legacy_plane arguments

No need to pass the planelist when everyone just uses
dev->mode_config.plane_list anyway.

I want to add a pile more of iterators with unified (obj, dev)
arguments. This is just prep.

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_pm.c
drivers/gpu/drm/shmobile/shmob_drm_crtc.c
include/drm/drm_crtc.h