Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: sm750fb: Fix indentation of if...else statements

This patch clears the checkpatch warning about suspect code indent for
conditional statements in the file.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Janani Ravichandran and committed by
Greg Kroah-Hartman
da6985f5 60c0bdcb

+9 -10
+9 -10
drivers/staging/sm750fb/sm750_hw.c
··· 149 149 /* Set up GPIO for software I2C to program DVI chip in the 150 150 Xilinx SP605 board, in order to have video signal. 151 151 */ 152 - sm750_sw_i2c_init(0, 1); 152 + sm750_sw_i2c_init(0, 1); 153 153 154 - 155 - /* Customer may NOT use CH7301 DVI chip, which has to be 156 - initialized differently. 157 - */ 158 - if (sm750_sw_i2c_read_reg(0xec, 0x4a) == 0x95) { 154 + /* Customer may NOT use CH7301 DVI chip, which has to be 155 + initialized differently. 156 + */ 157 + if (sm750_sw_i2c_read_reg(0xec, 0x4a) == 0x95) { 159 158 /* The following register values for CH7301 are from 160 159 Chrontel app note and our experiment. 161 160 */ 162 161 pr_info("yes,CH7301 DVI chip found\n"); 163 - sm750_sw_i2c_write_reg(0xec, 0x1d, 0x16); 164 - sm750_sw_i2c_write_reg(0xec, 0x21, 0x9); 165 - sm750_sw_i2c_write_reg(0xec, 0x49, 0xC0); 162 + sm750_sw_i2c_write_reg(0xec, 0x1d, 0x16); 163 + sm750_sw_i2c_write_reg(0xec, 0x21, 0x9); 164 + sm750_sw_i2c_write_reg(0xec, 0x49, 0xC0); 166 165 pr_info("okay,CH7301 DVI chip setup done\n"); 167 - } 166 + } 168 167 } 169 168 170 169 /* init 2d engine */