mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
f54736925a
commit
2667a6814c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue