提交 1967fa08 编写于 作者: S Sachin Kamat 提交者: MyungJoo Ham

extcon: max77693: Fix coding style

As per kernel coding style, if one branch of conditional statement has braces,
the other one should have too.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
上级 00af4b16
......@@ -665,9 +665,9 @@ static int __devinit max77693_muic_probe(struct platform_device *pdev)
}
info->dev = &pdev->dev;
info->max77693 = max77693;
if (info->max77693->regmap_muic)
if (info->max77693->regmap_muic) {
dev_dbg(&pdev->dev, "allocate register map\n");
else {
} else {
info->max77693->regmap_muic = devm_regmap_init_i2c(
info->max77693->muic,
&max77693_muic_regmap_config);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册