spi: sprd: Fix checkpatch spacing error
authorJay Fang <f.fangjian@huawei.com>
Wed, 24 Mar 2021 06:16:33 +0000 (14:16 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 24 Mar 2021 19:51:04 +0000 (19:51 +0000)
Fix checkpatch error:

  ERROR: space prohibited before that close parenthesis ')'
  #213: FILE: spi-sprd-adi.c:213:
  + rd_addr = (val & RD_ADDR_MASK ) >> RD_ADDR_SHIFT;

Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1616566602-13894-3-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sprd-adi.c

index 392ec5cfa3d61e41979dc1d116587c4e9fd1875a..ab19068be8675561f2529d5271b77cb2f8d06dfe 100644 (file)
@@ -210,7 +210,7 @@ static int sprd_adi_read(struct sprd_adi *sadi, u32 reg_paddr, u32 *read_val)
         * address. Then we can check the returned register address to validate
         * data.
         */
-       rd_addr = (val & RD_ADDR_MASK ) >> RD_ADDR_SHIFT;
+       rd_addr = (val & RD_ADDR_MASK) >> RD_ADDR_SHIFT;
 
        if (rd_addr != (reg_paddr & REG_ADDR_LOW_MASK)) {
                dev_err(sadi->dev, "read error, reg addr = 0x%x, val = 0x%x\n",