OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8397744
)
gpio: f7188x: Add a missing break
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 26 Apr 2017 19:08:15 +0000
(22:08 +0300)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 28 Apr 2017 08:09:16 +0000
(10:09 +0200)
A break statement was obviously intended here.
Fixes:
d69843e416d3
("gpio: f7188x: Add
F71889A
GPIO support.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-f7188x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-f7188x.c
b/drivers/gpio/gpio-f7188x.c
index
c013ff5
..
13350c9
100644
(file)
--- 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;