drm/i915/dsi: refactor dsi get hw state readout
authorJani Nikula <jani.nikula@intel.com>
Tue, 15 Mar 2016 19:51:11 +0000 (21:51 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 16 Mar 2016 16:10:34 +0000 (18:10 +0200)
commit1dcec2f39f128d3cb4784a0889f6c70aab675ed2
tree76994e9bb769d315b8c292de4fe44a4177922f9e
parentda20563097796cdba10e253581861ad0e2b0c695
drm/i915/dsi: refactor dsi get hw state readout

Make the code easier to read and update. No functional changes.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/04b20a9be6a9481ca2eb2a42cdcdc27358152e5f.1458070700.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi.c