projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00af4b1
)
extcon: max77693: Fix coding style
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 21 Nov 2012 04:34:58 +0000
(10:04 +0530)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Wed, 21 Nov 2012 11:01:14 +0000
(20:01 +0900)
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>
drivers/extcon/extcon-max77693.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-max77693.c
b/drivers/extcon/extcon-max77693.c
index 2a0f397885fd542a54a4fbfe3d90324a948cd90f..d844be3009f63a5048284e18a1841f5b5d5ea76e 100644
(file)
--- a/
drivers/extcon/extcon-max77693.c
+++ b/
drivers/extcon/extcon-max77693.c
@@
-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);