gpio: f7188x: Add a missing break
Subsystems (2)
PATCH 1/1 gpio: f7188x: Add a missing break
A break statement was obviously intended here.
Fixes d69843e416d3 ("gpio: f7188x: Add F71889A GPIO support.")
Signed-off-by Dan Carpenter <[email protected]>
drivers/gpio/gpio-f7188x.c +1 -0
@@ -398,6 +398,7 @@ static int f7188x_gpio_probe(struct platform_device *pdev)case f71889a: data->nr_bank =ARRAY_SIZE (f71889a_gpio_bank); data->bank = f71889a_gpio_bank; +break ;case f71889f: data->nr_bank =ARRAY_SIZE (f71889_gpio_bank); data->bank = f71889_gpio_bank;
Quoted 4 lines · Dan Carpenter
A break statement was obviously intended here.
Fixes d69843e416d3 ("gpio: f7188x: Add F71889A GPIO support.")Signed-off-by Dan Carpenter <[email protected]>
Patch applied.
Yours,
Linus Walleij
Quoted 11 lines · Linus Walleij
Quoted 4 lines · Dan Carpenter
A break statement was obviously intended here.
Fixes d69843e416d3 ("gpio: f7188x: Add F71889A GPIO support.")Signed-off-by Dan Carpenter <[email protected]>Patch applied.
Yours,
Linus Walleij
How embarrassing, I completely missed that. Good catch.
Marty.