mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +01: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);
|
printf("Can't get the regulator: %s!\n", name);
|
||||||
return failure(ret);
|
return failure(ret);
|
||||||
}
|
}
|
||||||
|
fallthrough;
|
||||||
case 1:
|
case 1:
|
||||||
if (!currdev) {
|
if (!currdev) {
|
||||||
printf("Regulator device is not set!\n\n");
|
printf("Regulator device is not set!\n\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user