drm/amd/powerplay: indent a couple if statements
Subsystems (3)
PATCH 1/1 drm/amd/powerplay: indent a couple if statements
We recently redid the indenting, but missed these two if statements.
Signed-off-by Dan Carpenter <[email protected]>
drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h +2 -2
@@ -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;
Alex Deucher
AppliedQuoted 3 lines · Dan Carpenter
We recently redid the indenting, but missed these two if statements.
Signed-off-by Dan Carpenter <[email protected]>
Applied. thanks!
Alex
Quoted 27 lines
drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h +2
-2@@ -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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel