diff options
| author | 2018-09-26 17:28:59 -0400 | |
|---|---|---|
| committer | 2018-10-03 20:24:53 -0400 | |
| commit | 9a9ede3f719379c4edc7dcc60b00f44db77b9b74 (patch) | |
| tree | 672e4188eb8e63c6153fa10af489a490ea3037b9 /samples/hidraw/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/msm/dpu: Remove unneeded checks in dpu_crtc.c (diff) | |
drm/msm/dpu: Remove _dpu_crtc_power_enable
All checks for _dpu_crtc_power_enable are not true, so the function
can never return an error code. This removes the need for the
function as pm_runtime functions can be used instead.
v3: Separated _dpu_crtc_power_enable into _dpu_crtc_power_enable and
_dpu_crtc_power_disable for clarity.
v4: Removed both _dpu_crtc_power_enable and _dpu_crtc_power_disable
and called pm_runtime_get_sync and pm_runtime_put_sync from all
call points
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Bruce Wang <bzwang@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'samples/hidraw/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
