drm/i915: Exit early from psr_status if PSR is not supported by the device
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 9 Mar 2015 14:17:58 +0000 (14:17 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:10 +0000 (22:30 +0100)
Static analysis was complaining that a path existed where we could use
stat[] uninitialized. Fix this by simplifying the logic to exit early if
PSR isn't supported.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c

Simple merge