drm/i915: remove dead code from legacy suspend handler
authorImre Deak <imre.deak@intel.com>
Wed, 10 Sep 2014 15:16:55 +0000 (18:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:06 +0000 (16:34 +0200)
commit0b14cbd2f58199a024acbe2994bb27533c97d756
tree1591cf2fddd68ab8f962a6c46d132a7fdce88063
parent409ee761fdc3b39e34ffccea375e7f0f13fce9cc
drm/i915: remove dead code from legacy suspend handler

The legacy DRM suspend logic (effective in UMS) doesn't handle any S4 thaw
events so we don't need to care about it either. Only S3 suspend and S4
freeze events are handled. Leave an assert behind to be sure.

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