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

staging: sm750fb: ddk750_*i2c: remove multiple blank lines

Fix the checkpatch warning about multiple blank lines

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Mike Rapoport and committed by
Greg Kroah-Hartman
987f202a fe820044

-17
-16
drivers/staging/sm750fb/ddk750_hwi2c.c
··· 8 8 #define MAX_HWI2C_FIFO 16 9 9 #define HWI2C_WAIT_TIMEOUT 0xF0000 10 10 11 - 12 11 int sm750_hw_i2c_init( 13 12 unsigned char bus_speed_mode 14 13 ) ··· 38 39 return 0; 39 40 } 40 41 41 - 42 42 void sm750_hw_i2c_close(void) 43 43 { 44 44 unsigned int value; ··· 57 59 POKE32(GPIO_MUX, value); 58 60 } 59 61 60 - 61 62 static long hw_i2c_wait_tx_done(void) 62 63 { 63 64 unsigned int timeout; ··· 72 75 73 76 return 0; 74 77 } 75 - 76 - 77 78 78 79 /* 79 80 * This function writes data to the i2c slave device registers. ··· 133 138 134 139 return total_bytes; 135 140 } 136 - 137 - 138 - 139 141 140 142 /* 141 143 * This function reads data from the slave device and stores them ··· 197 205 return total_bytes; 198 206 } 199 207 200 - 201 - 202 - 203 208 /* 204 209 * This function reads the slave device's register 205 210 * ··· 220 231 221 232 return value; 222 233 } 223 - 224 - 225 - 226 - 227 234 228 235 /* 229 236 * This function writes a value to the slave device's register ··· 249 264 250 265 return (-1); 251 266 } 252 - 253 267 254 268 #endif
-1
drivers/staging/sm750fb/ddk750_swi2c.c
··· 15 15 #include "ddk750_swi2c.h" 16 16 #include "ddk750_power.h" 17 17 18 - 19 18 /******************************************************************* 20 19 * I2C Software Master Driver: 21 20 * ===========================