diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-11-09 23:53:17 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-11-16 15:14:34 +0300 |
commit | 6900fad60ac6987b7c1e4dee2e99e28701a2b8fb (patch) | |
tree | 57187aca7e20f6df37868175138cd74d04a04828 /drivers/gpio/gpiolib.c | |
parent | 13daf48978280ea8bce38f1e0598b913b09f5395 (diff) | |
download | linux-6900fad60ac6987b7c1e4dee2e99e28701a2b8fb.tar.xz |
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.c | 1 |
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); |