[PATCH 4/5] drm/fb: small cleanup

2015-03-07 Thread Daniel Kurtz
On Sat, Mar 7, 2015 at 5:23 AM, Rob Clark wrote: > Flip conditional to reduce indentation level of rest of fxn, and use > min/max to make the code clearer. > > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/drm_fb_helper.c | 28 +++- > 1 file changed, 15 insertions(+),

[PATCH 4/5] drm/fb: small cleanup

2015-03-07 Thread Rob Clark
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 Reviewed-by: Daniel Kurtz --- drivers/gpu/drm/drm_fb_helper.c | 28 +++- 1 file changed, 15

[PATCH 4/5] drm/fb: small cleanup

2015-03-06 Thread Rob Clark
Flip conditional to reduce indentation level of rest of fxn, and use min/max to make the code clearer. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_fb_helper.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c