summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-11-09 22:53:17 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-11-16 14:14:34 +0200
commit6900fad60ac6987b7c1e4dee2e99e28701a2b8fb (patch)
tree57187aca7e20f6df37868175138cd74d04a04828 /drivers/gpio/gpiolib.c
parent13daf48978280ea8bce38f1e0598b913b09f5395 (diff)
downloadlinux-stable-6900fad60ac6987b7c1e4dee2e99e28701a2b8fb.tar.gz
linux-stable-6900fad60ac6987b7c1e4dee2e99e28701a2b8fb.tar.bz2
linux-stable-6900fad60ac6987b7c1e4dee2e99e28701a2b8fb.zip
gpiolib: add missed break statement
It's no difference in the functionality, but after the change the code is less error prone to various checkers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r--drivers/gpio/gpiolib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index fe31e7f1fb6e..23fc5bfd2045 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -2107,6 +2107,7 @@ static int gpio_set_config(struct gpio_desc *desc, enum pin_config_param mode)
default:
arg = 0;
+ break;
}
config = PIN_CONF_PACKED(mode, arg);