staging: sm750fb: Remove space after cast
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Thu, 8 Oct 2015 21:40:15 +0000 (03:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:32:07 +0000 (20:32 -0700)
Remove unnecessary space after cast. Problem found using checkpatch.pl
CHECK: No space is necessary after a cast

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c

index 02e6f640f3d43d0d3270fdbbc0f9f9805a1fe7c2..1c13e5b0a57a85c1e8157d650e4265d7ef9c352a 100644 (file)
@@ -133,7 +133,7 @@ static 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);
@@ -180,7 +180,7 @@ static void setMasterClock(unsigned int frequency)
                        frequency = MHz(190);
 
                /* 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);