mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-26 22:01:10 +00:00
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
@ -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…
x
Reference in New Issue
Block a user