rockchip: ram: sdram_rk3x88: replace comma by semicolon
PATCH 1/1 rockchip: ram: sdram_rk3x88: replace comma by semicolon
A comma at the end of a line gives sometimes strange effects in combination with some code formatters, so replace a comma by a semicolon in the sdram_rk3188.c and sdram_rk3288.c files.
--- drivers/ram/rockchip/sdram_rk3188.c | 2 +- drivers/ram/rockchip/sdram_rk3288.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/ram/rockchip/sdram_rk3188.c +1 -1
@@ -762,7 +762,7 @@ static int sdram_init(struct dram_info *dram,* CS1, n=2 * CS0 & CS1, n = 3 */ - sdram_params->ch[channel].rank =2 , + sdram_params->ch[channel].rank =2 ;clrsetbits_le32 (&publ->pgcr,0xF <<18 , (sdram_params->ch[channel].rank |1 ) <<18 );
drivers/ram/rockchip/sdram_rk3288.c +1 -1
@@ -862,7 +862,7 @@ static int sdram_init(struct dram_info *dram,* CS1, n=2 * CS0 & CS1, n = 3 */ - sdram_params->ch[channel].rank =2 , + sdram_params->ch[channel].rank =2 ;clrsetbits_le32 (&publ->pgcr,0xF <<18 , (sdram_params->ch[channel].rank |1 ) <<18 );
Signature · 1 line
2.20.1
Quoted 6 lines · Johan Jonker
A comma at the end of a line gives sometimes strange effects in combination with some code formatters, so replace a comma by a semicolon in the
sdram_rk3188.candsdram_rk3288.cfiles.
Quoted 6 lines
Signed-off-by Johan Jonker <[email protected]>--- drivers/ram/rockchip/sdram_rk3188.c | 2 +- drivers/ram/rockchip/sdram_rk3288.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 8 lines · Johan Jonker
A comma at the end of a line gives sometimes strange effects in combination with some code formatters, so replace a comma by a semicolon in the
sdram_rk3188.candsdram_rk3288.cfiles.Signed-off-by Johan Jonker <[email protected]>---
Hi Johan,
Quoted 7 lines · Johan Jonker <[email protected]> 于2022年1月13日周四 00:32写道:
A comma at the end of a line gives sometimes strange effects in combination with some code formatters, so replace a comma by a semicolon in the
sdram_rk3188.candsdram_rk3288.cfiles.Signed-off-by Johan Jonker <[email protected]>
Thanks,
- Kever
Quoted 34 lines
--- drivers/ram/rockchip/sdram_rk3188.c | 2 +- drivers/ram/rockchip/sdram_rk3288.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/ram/rockchip/sdram_rk3188.c +1
-1@@ -762,7 +762,7 @@ static int sdram_init(struct dram_info *dram,* CS1, n=2 * CS0 & CS1, n = 3 */ - sdram_params->ch[channel].rank =2 , + sdram_params->ch[channel].rank =2 ;clrsetbits_le32 (&publ->pgcr,0xF <<18 , (sdram_params->ch[channel].rank |1 ) <<18 );drivers/ram/rockchip/sdram_rk3288.c +1
-2@@ -862,7 +862,7 @@ static int sdram_init(struct dram_info *dram,* CS1, n=2 * CS0 & CS1, n = 3 */ - sdram_params->ch[channel].rank =2 , + sdram_params->ch[channel].rank =2 ;clrsetbits_le32 (&publ->pgcr,0xF <<18 , (sdram_params->ch[channel].rank |1 ) <<18 ); --2.20.1