diff options
author | Jonghwan Choi <jhbird.choi@samsung.com> | 2011-05-11 22:37:48 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-05-27 05:49:09 -0400 |
commit | afdaaafe8e829364d9c1276b5435cc28ee5619df (patch) | |
tree | d7cedc26e99f53dd0be2a82219c30085eb0f6728 /drivers/regulator/max8997.c | |
parent | 6be6e96fe90962171f31c099a5e7c28a49a0d0ae (diff) |
regulator: max8997: remove useless code
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>
Diffstat (limited to 'drivers/regulator/max8997.c')
-rw-r--r-- | drivers/regulator/max8997.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index 77e0cfb30b23..b1c1444864b3 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c | |||
@@ -267,7 +267,6 @@ static int max8997_get_enable_register(struct regulator_dev *rdev, | |||
267 | default: | 267 | default: |
268 | /* Not controllable or not exists */ | 268 | /* Not controllable or not exists */ |
269 | return -EINVAL; | 269 | return -EINVAL; |
270 | break; | ||
271 | } | 270 | } |
272 | 271 | ||
273 | return 0; | 272 | return 0; |