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:
Heinrich Schuchardt 2023-04-01 10:07:30 +02:00 committed by Tom Rini
parent 62d92d87f3
commit 16abdd42b3

View file

@ -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");