drm/i915: clear opregon->lid_state after we unmap it
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 12 Sep 2013 16:58:20 +0000 (13:58 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Sep 2013 14:06:01 +0000 (16:06 +0200)
commit794a79a6b00db14c535c951b03820ea5199c82a3
treea25932276d833984d700b05905b4296b423d8421
parent93ce0ba6985245ba806f0846a9ce42ca7a3184f2
drm/i915: clear opregon->lid_state after we unmap it

We don't seem to be using the pointer after it's unmapped, so this
patch doesn't fix any bug I can reproduce.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c