cmd/regulator: missing fallthrough in do_dev()
Add missing fallthrough macro. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
62d92d87f3
commit
16abdd42b3
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ static int do_dev(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|||
printf("Can't get the regulator: %s!\n", name);
|
||||
return failure(ret);
|
||||
}
|
||||
fallthrough;
|
||||
case 1:
|
||||
if (!currdev) {
|
||||
printf("Regulator device is not set!\n\n");
|
||||
|
|
Loading…
Reference in a new issue