diff mbox

drm/amd/powerplay: indent a couple if statements

Message ID 20160120101748.GA20143@mwanda (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Carpenter Jan. 20, 2016, 10:17 a.m. UTC
We recently redid the indenting, but missed these two if statements.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Comments

Alex Deucher Jan. 20, 2016, 6:51 p.m. UTC | #1
On Wed, Jan 20, 2016 at 5:17 AM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> We recently redid the indenting, but missed these two if statements.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied.  thanks!

Alex

>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
> index b7429a5..b10df32 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
> @@ -293,7 +293,7 @@ fInt GetScaledFraction(int X, int factor)
>         }
>
>         if (factor == 1)
> -       return (ConvertToFraction(X));
> +               return ConvertToFraction(X);
>
>         fValue = fDivide(ConvertToFraction(X * uPow(-1, bNEGATED)), ConvertToFraction(factor));
>
> @@ -371,7 +371,7 @@ fInt fDivide (fInt X, fInt Y)
>         fZERO = ConvertToFraction(0);
>
>         if (Equal(Y, fZERO))
> -       return fZERO;
> +               return fZERO;
>
>         longlongX = (int64_t)X.full;
>         longlongY = (int64_t)Y.full;
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
index b7429a5..b10df32 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h
@@ -293,7 +293,7 @@  fInt GetScaledFraction(int X, int factor)
 	}
 
 	if (factor == 1)
-	return (ConvertToFraction(X));
+		return ConvertToFraction(X);
 
 	fValue = fDivide(ConvertToFraction(X * uPow(-1, bNEGATED)), ConvertToFraction(factor));
 
@@ -371,7 +371,7 @@  fInt fDivide (fInt X, fInt Y)
 	fZERO = ConvertToFraction(0);
 
 	if (Equal(Y, fZERO))
-	return fZERO;
+		return fZERO;
 
 	longlongX = (int64_t)X.full;
 	longlongY = (int64_t)Y.full;