Skip to content

Commit

Permalink
regulator: max8997: remove useless code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonghwan Choi authored and Liam Girdwood committed May 27, 2011
1 parent 6be6e96 commit afdaaaf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/regulator/max8997.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit afdaaaf

Please sign in to comment.