i2c: iop3xx: Fix coding style issues
authorTian Tao <tiantao6@hisilicon.com>
Mon, 5 Apr 2021 09:03:49 +0000 (17:03 +0800)
committerWolfram Sang <wsa@kernel.org>
Thu, 15 Apr 2021 20:24:23 +0000 (22:24 +0200)
commit87c2de5fa6f1cf59dac90f53a5a482a281c16da0
tree5032877f8324f813b1efea5b43b4e0006b92e4d9
parent5e77a61f506b1ac8d86355edd52ebeb038179339
i2c: iop3xx: Fix coding style issues

Fix 20 checkpatch errors.

Among these errors, 18 of them are incorrect space usage, such as:

  ERROR: space prohibited after that open parenthesis '('
  #128: FILE: drivers/i2c/busses/i2c-iop3xx.c:128:
  +               if ( !rc ) rc = -I2C_ERR_BERR

The remaining two errors are trailing statements should be on next line,
such as:

  ERROR: trailing statements should be on next line
  #128: FILE: drivers/i2c/busses/i2c-iop3xx.c:128:
  +               if ( !rc ) rc = -I2C_ERR_BERR;

No functional changes.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Zihao Tang <tangzihao1@hisilicon.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-iop3xx.c