aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-f7188x.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-04-26 19:08:15 +0000
committerLinus Walleij <[email protected]>2017-04-28 08:09:16 +0000
commitb86c86aa9805b25ee70071d084e618b2c40641b5 (patch)
tree978eec3da4d33192a1e6e43272d55a449a7ba202 /drivers/gpio/gpio-f7188x.c
parentgpio: omap: return error if requested debounce time is not possible (diff)
downloadkernel-b86c86aa9805b25ee70071d084e618b2c40641b5.tar.gz
kernel-b86c86aa9805b25ee70071d084e618b2c40641b5.zip
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]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-f7188x.c')
-rw-r--r--drivers/gpio/gpio-f7188x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c
index c013ff5deb70..13350c9d7f5e 100644
--- a/drivers/gpio/gpio-f7188x.c
+++ b/drivers/gpio/gpio-f7188x.c
@@ -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;