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>
This commit is contained in:
parent
6be6e96fe9
commit
afdaaafe8e
|
@ -267,7 +267,6 @@ static int max8997_get_enable_register(struct regulator_dev *rdev,
|
||||||
default:
|
default:
|
||||||
/* Not controllable or not exists */
|
/* Not controllable or not exists */
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue