projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96fa8c4
)
regulator: tps80031: remove unnecessary parentheses
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 26 Feb 2014 01:19:30 +0000
(10:19 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 5 Mar 2014 04:33:18 +0000
(12:33 +0800)
Remove unnecessary parentheses in order to fix the following
checkpatch error.
ERROR: return is not a function, parentheses are not required
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps80031-regulator.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/tps80031-regulator.c
b/drivers/regulator/tps80031-regulator.c
index ac88c988bb2e848d112aa93153dd2609519079fe..26aa6d9c308fdf1415f55a20f6d987b4260f92f8 100644
(file)
--- a/
drivers/regulator/tps80031-regulator.c
+++ b/
drivers/regulator/tps80031-regulator.c
@@
-115,7
+115,7
@@
static int tps80031_reg_is_enabled(struct regulator_dev *rdev)
ri->rinfo->state_reg, ret);
return ret;
}
- return (
(reg_val & TPS80031_STATE_MASK) == TPS80031_STATE_ON)
;
+ return (
reg_val & TPS80031_STATE_MASK) == TPS80031_STATE_ON
;
}
static int tps80031_reg_enable(struct regulator_dev *rdev)
This page took
0.024503 seconds
and
5
git commands to generate.