diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-06-04 18:39:57 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-06-07 12:21:17 +0300 |
commit | 2667a6814cb518f0df6520a00ddea48e8af50bd0 (patch) | |
tree | e2d0cd7f9c8c99a79fe75068aae4035b61d18aa1 /drivers/i2c | |
parent | f54736925a4f83a67588381d0ead69d19323b526 (diff) | |
download | linux-2667a6814cb518f0df6520a00ddea48e8af50bd0.tar.xz |
i2c: npcm7xx: Remove unnecessary parentheses
Remove unnecessary parentheses around _bus_.
This issue was found with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-npcm7xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-npcm7xx.c b/drivers/i2c/busses/i2c-npcm7xx.c index a8e75c3484f1..68951a293aae 100644 --- a/drivers/i2c/busses/i2c-npcm7xx.c +++ b/drivers/i2c/busses/i2c-npcm7xx.c @@ -2248,7 +2248,7 @@ static int npcm_i2c_probe_bus(struct platform_device *pdev) bus->reg = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(bus->reg)) - return PTR_ERR((bus)->reg); + return PTR_ERR(bus->reg); spin_lock_init(&bus->lock); init_completion(&bus->cmd_complete); |