diff options
author | Jay Fang <f.fangjian@huawei.com> | 2021-03-24 07:16:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-24 20:51:04 +0100 |
commit | e13a870ffaa60f459892eb4600a286b4db7da5ad (patch) | |
tree | 9b4cd70548c855ea1a20769792c24cfc4976c090 /drivers/spi | |
parent | spi: spi-topcliff-pch: Fix checkpatch spacing error (diff) | |
download | linux-e13a870ffaa60f459892eb4600a286b4db7da5ad.tar.xz linux-e13a870ffaa60f459892eb4600a286b4db7da5ad.zip |
spi: sprd: Fix checkpatch spacing error
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-sprd-adi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sprd-adi.c b/drivers/spi/spi-sprd-adi.c index 392ec5cfa3d6..ab19068be867 100644 --- a/drivers/spi/spi-sprd-adi.c +++ b/drivers/spi/spi-sprd-adi.c @@ -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", |