summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_drv.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2015-03-11 17:23:13 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-03-12 00:09:39 +0300
commit675c8328db6548f00a4e60770e66ab53752d6bf2 (patch)
tree3bd54b03008a971013ee1c8ac63e79c764c74fe0 /drivers/gpu/drm/drm_drv.c
parentd3c8ea3460fa9ca8a19eea8813071dee0b07c293 (diff)
downloadlinux-675c8328db6548f00a4e60770e66ab53752d6bf2.tar.xz
drm/fb: small cleanup
Flip conditional to reduce indentation level of rest of fxn, and use min/max to make the code clearer. v2: surface_width -> surface_height typo Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
0 files changed, 0 insertions, 0 deletions