Staging: sm750fb: Remove spaces in front of lines
Subsystems (2)
PATCH v3 1/1 Staging: sm750fb: Remove spaces in front of lines
Fixes checkpatch.pl warning by using tabs instead of spaces.
WARNING: please, no spaces at the start of a line
Signed-off-by Amitoj Kaur Chawla <[email protected]>
---
Changes in v3:
- Fixed commit message
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
Fixes checkpatch.pl warning by using tabs instead of spaces.
WARNING: please, no spaces at the start of a line
Better, thanks :)
julia
Quoted 68 lines
Signed-off-by Amitoj Kaur Chawla <[email protected]>---
Changes in v3:
- Fixed commit messagedrivers/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/20150321195235.GA28639%40amitoj-Inspiron-3542. For more options, visit https://groups.google.com/d/optout.
Greg KH
maintainerQuoted 41 lines · Amitoj Kaur Chawla
Fixes checkpatch.pl warning by using tabs instead of spaces.
WARNING: please, no spaces at the start of a lineSigned-off-by Amitoj Kaur Chawla <[email protected]>---
Changes in v3:
- Fixed commit messagedrivers/staging/sm750fb/ddk750_chip.c | 38 +++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 17 deletions(-)drivers/staging/sm750fb/ddk750_chip.c +5
-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 */
drivers/staging/sm750fb/ddk750_chip.c void setChipClock(unsigned int frequency) · line 127
Quoted 10 lines
drivers/staging/sm750fb/ddk750_chip.c +10
-0+ 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. +*/
You changed the way the comments were lined up :(