Skip to content

Commit

Permalink
extcon: max77693: Fix coding style
Browse files Browse the repository at this point in the history
As per kernel coding style, if one branch of conditional statement has braces,
the other one should have too.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
  • Loading branch information
Sachin Kamat authored and MyungJoo Ham committed Nov 21, 2012
1 parent 00af4b1 commit 1967fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/extcon/extcon-max77693.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1967fa0

Please sign in to comment.