Commit 2667a681 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Wolfram Sang

i2c: npcm7xx: Remove unnecessary parentheses

Remove unnecessary parentheses around _bus_.

This issue was found with the help of Coccinelle.
Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent f5473692
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment