Staging: sm750fb: Remove space after cast
Subsystems (2)
PATCH 1/1 Staging: sm750fb: Remove space after cast
Remove unnecessary space after cast. Problem found using checkpatch.pl
CHECK: No space is necessary after a cast
Signed-off-by Dilek Uzulmez <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -1
@@ -146,7 +146,7 @@ void setMemoryClock(unsigned int frequency) frequency =MHz (336 );/* Calculate the divisor */ - divisor = (unsigned int )roundedDiv (getChipClock (), frequency); + divisor = (unsigned int )roundedDiv (getChipClock (), frequency);/* Set the corresponding divisor in the register. */ ulReg =PEEK32 (CURRENT_GATE );
Signature · 1 line
1.9.1
Did you check this ?
Quoted 28 lines · Dilek Uzulmez
Remove unnecessary space after cast. Problem found using checkpatch.pl
CHECK: No space is necessary after a castSigned-off-by Dilek Uzulmez <[email protected]>--- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/sm750fb/ddk750_chip.c +1
-1@@ -146,7 +146,7 @@ void setMemoryClock(unsigned int frequency) frequency =MHz (336 );/* Calculate the divisor */ - divisor = (unsigned int )roundedDiv (getChipClock (), frequency); + divisor = (unsigned int )roundedDiv (getChipClock (), frequency);/* Set the corresponding divisor in the register. */ ulReg = PEEK32(CURRENT_GATE);--
1.9.1
Greg KH
maintainerQuoted 7 lines · Dilek Uzulmez
Remove unnecessary space after cast. Problem found using checkpatch.pl
CHECK: No space is necessary after a castSigned-off-by Dilek Uzulmez <[email protected]>--- drivers/staging/sm750fb/ddk750_chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Doesn't apply to my tree :(