projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6be6e96
)
regulator: max8997: remove useless code
author
Jonghwan Choi
<jhbird.choi@samsung.com>
Thu, 12 May 2011 02:37:48 +0000
(11:37 +0900)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:49:09 +0000
(10:49 +0100)
fix unreachable code.
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max8997.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max8997.c
b/drivers/regulator/max8997.c
index 77e0cfb30b23fcc5ff274cf66ac96b94a532a62d..b1c1444864b3bb6fd717392333b4e1693920ec90 100644
(file)
--- a/
drivers/regulator/max8997.c
+++ b/
drivers/regulator/max8997.c
@@
-267,7
+267,6
@@
static int max8997_get_enable_register(struct regulator_dev *rdev,
default:
/* Not controllable or not exists */
return -EINVAL;
- break;
}
return 0;