drm/i915: Fix compiler warnings for i915_edp_psr_status()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Jan 2017 13:06:21 +0000 (13:06 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Jan 2017 10:24:10 +0000 (10:24 +0000)
commitb86bef20e0f62dab61a1f9b33465061bb27cdb49
tree329ae6b08e9a2ea410d209c5723036043f532b33
parentfbbad73e1b78d2e3d7ce7f82613a8136f2116f13
drm/i915: Fix compiler warnings for i915_edp_psr_status()

Appease both the poor reader and the compiler by rewriting the string
lookup for EDP_PSR2_STATUS_CTL:

drivers/gpu/drm/i915/i915_debugfs.c:2662 i915_edp_psr_status() warn: if statement not indented

Fixes: 6ba1f9e1772f ("drm/i915/psr: report live PSR2 State")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Vathsala Nagaraju <vathsala.nagaraju@intel.com>
Cc: Patil Deepti <deepti.patil@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170116130622.20369-1-chris@chris-wilson.co.uk
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c