diff options
| author | 2020-11-09 22:53:17 +0200 | |
|---|---|---|
| committer | 2020-11-16 14:14:34 +0200 | |
| commit | 6900fad60ac6987b7c1e4dee2e99e28701a2b8fb (patch) | |
| tree | 57187aca7e20f6df37868175138cd74d04a04828 /drivers/gpio/gpiolib.c | |
| parent | gpiolib: Replace unsigned by unsigned int (diff) | |
| download | wireguard-linux-6900fad60ac6987b7c1e4dee2e99e28701a2b8fb.tar.xz wireguard-linux-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.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); |
