diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-09-19 17:00:16 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 13:57:19 +0200 |
commit | 5173abfc05095da983f16de4c5e2185c7eb1934a (patch) | |
tree | af3ada2ad5e814fe28bd838c0aaedc0d95259789 /drivers | |
parent | 8bee668de51b7c5ed59be2696a199a335af3397a (diff) |
Staging: rts5208: Add space around operator.
Add space around operator. This patch was found by checkpatch.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rts5208/rtsx_chip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rts5208/rtsx_chip.c b/drivers/staging/rts5208/rtsx_chip.c index c75493ae92b2..a10dd6220a7b 100644 --- a/drivers/staging/rts5208/rtsx_chip.c +++ b/drivers/staging/rts5208/rtsx_chip.c @@ -743,7 +743,7 @@ static inline int check_sd_speed_prior(u32 sd_speed_prior) int i; for (i = 0; i < 4; i++) { - u8 tmp = (u8)(sd_speed_prior >> (i*8)); + u8 tmp = (u8)(sd_speed_prior >> (i * 8)); if ((tmp < 0x01) || (tmp > 0x04)) { fake_para = true; @@ -2336,7 +2336,7 @@ int rtsx_write_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) ptr = buf; reg_addr = PPBUF_BASE2; - for (i = 0; i < buf_len/256; i++) { + for (i = 0; i < buf_len / 256; i++) { rtsx_init_cmd(chip); for (j = 0; j < 256; j++) { @@ -2352,10 +2352,10 @@ int rtsx_write_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) } } - if (buf_len%256) { + if (buf_len % 256) { rtsx_init_cmd(chip); - for (j = 0; j < buf_len%256; j++) { + for (j = 0; j < buf_len % 256; j++) { rtsx_add_cmd(chip, WRITE_REG_CMD, reg_addr++, 0xFF, *ptr); ptr++; |