Staging: sm750fb: Remove spaces in front of lines
Subsystems (2)
PATCH 1/1 Staging: sm750fb: Remove spaces in front of lines
This patch removes warning in file ddk750_chip.c of spaces in front of lines.
Signed-off-by Amitoj Kaur Chawla <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 38 +++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 17 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +21 -17
@@ -110,23 +110,27 @@ void setChipClock(unsigned int frequency)return ;#endif -if (frequency !=0 ) { -/* -* Set up PLL, a structure to hold the value to be set in clocks. -*/ - pll.inputFreq =DEFAULT_INPUT_CLOCK ;/* Defined in CLOCK.H */ - pll.clockType =MXCLK_PLL ; - -/* -* Call calcPllValue() to fill up the other fields for PLL structure. -* Sometime, the chip cannot set up the exact clock required by User. -* Return value from calcPllValue() gives the actual possible clock. -*/ - ulActualMxClk =calcPllValue (frequency, &pll); - -/* Master Clock Control: MXCLK_PLL */ -POKE32 (MXCLK_PLL_CTRL ,formatPllReg (&pll)); - } +if (frequency !=0 ) { +/* +* Set up PLL, a structure to hold the value to be set in clocks. +*/ + pll.inputFreq =DEFAULT_INPUT_CLOCK ;/* Defined in CLOCK.H */ + pll.clockType =MXCLK_PLL ; + +/* +* Call calcPllValue() to fill up the other fields for PLL +* structure. +* Sometime, the chip cannot set up the exact clock required by +* User. +* Return value from calcPllValue() gives the actual possible +* clock. +*/ + + ulActualMxClk =calcPllValue (frequency, &pll); + +/* Master Clock Control: MXCLK_PLL */ +POKE32 (MXCLK_PLL_CTRL ,formatPllReg (&pll)); + } }
Signature · 1 line
1.9.1
Quoted 2 lines · Amitoj Kaur Chawla
This patch removes warning in file
ddk750_chip.cof spaces in front of lines.
"Removes the warning" is a kind of negative way of saying what you have done. It is more helpful to say what you actually did, which I guess is to replace spaces by tabs?
julia
Quoted 65 lines
Signed-off-by Amitoj Kaur Chawla <[email protected]>--- drivers/staging/sm750fb/ddk750_chip.c | 38 +++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 17 deletions(-)drivers/staging/sm750fb/ddk750_chip.c +21
-17@@ -110,23 +110,27 @@ void setChipClock(unsigned int frequency)return ;#endif -if (frequency !=0 ) { -/* -* Set up PLL, a structure to hold the value to be set in clocks. -*/ - pll.inputFreq =DEFAULT_INPUT_CLOCK ;/* Defined in CLOCK.H */ - pll.clockType =MXCLK_PLL ; - -/* -* Call calcPllValue() to fill up the other fields for PLL structure. -* Sometime, the chip cannot set up the exact clock required by User. -* Return value from calcPllValue() gives the actual possible clock. -*/ - ulActualMxClk =calcPllValue (frequency, &pll); - -/* Master Clock Control: MXCLK_PLL */ -POKE32 (MXCLK_PLL_CTRL ,formatPllReg (&pll)); - } +if (frequency !=0 ) { +/* +* Set up PLL, a structure to hold the value to be set in clocks. +*/ + pll.inputFreq =DEFAULT_INPUT_CLOCK ;/* Defined in CLOCK.H */ + pll.clockType =MXCLK_PLL ; + +/* +* Call calcPllValue() to fill up the other fields for PLL +* structure. +* Sometime, the chip cannot set up the exact clock required by +* User. +* Return value from calcPllValue() gives the actual possible +* clock. +*/ + + ulActualMxClk =calcPllValue (frequency, &pll); + +/* Master Clock Control: MXCLK_PLL */ +POKE32 (MXCLK_PLL_CTRL ,formatPllReg (&pll)); + } }Signature · 8 lines
1.9.1 -- You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20150321191336.GA28354%40amitoj-Inspiron-3542. For more options, visit https://groups.google.com/d/optout.