drm/i915: unify S3 and S4 suspend/resume handlers
authorImre Deak <imre.deak@intel.com>
Thu, 23 Oct 2014 16:23:24 +0000 (19:23 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:19 +0000 (16:34 +0200)
commit36d61e6751d16fa80a4355b9708ff24ab7536f89
treef9a8d1651dad4c54cc1d28974ace5d4c8dbfb5cd
parentf2476ae65e6159b41168bc41c630e9fbb1d72dde
drm/i915: unify S3 and S4 suspend/resume handlers

The S3 and S4 events are now handled the same way internally, there is no
need to keep separate wrapper functions around them. Simply reuse the
suspend/resume versions everywhere.

No functional change.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c