gpio: sprd: Add missing break in switch statement
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 11 Feb 2019 18:50:01 +0000 (12:50 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Feb 2019 09:39:50 +0000 (10:39 +0100)
commit5340f23df8fe27a270af3fa1a93cd07293d23dd9
tree44a3b6d9dc23900394943bfca004dd5e77822544
parentc2df3de0d07e1d678f8269b195030391b647c1b6
gpio: sprd: Add missing break in switch statement

Fix the following warning by adding a missing break:

drivers/gpio/gpio-eic-sprd.c: In function ‘sprd_eic_irq_set_type’:
drivers/gpio/gpio-eic-sprd.c:403:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   switch (flow_type) {
   ^~~~~~
drivers/gpio/gpio-eic-sprd.c:435:2: note: here
  default:
  ^~~~~~~

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-eic-sprd.c