drm/i915/psr: Use intel_psr_exit() in intel_psr_disable_source()
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 6 Nov 2018 19:08:40 +0000 (11:08 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 9 Nov 2018 18:49:37 +0000 (10:49 -0800)
commit26f9ec9a9a4a2d97a86f6bd0084dcda4d88b89ef
treef3fa214488c1437eaf25d16e3d821ec66ae84843
parent53cc688036681cc17f6db43744db6bb7703246fe
drm/i915/psr: Use intel_psr_exit() in intel_psr_disable_source()

Both functions have the same code to disable PSR, so let's reuse that
code instead of duplicate.

Suggested-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181106190843.18009-1-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c