diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-01-20 11:46:26 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-02-10 10:55:18 +0100 |
commit | 8131b73b22c25e57e926874bb284f61cc3f8ac5e (patch) | |
tree | 18cf43504b8612a0b35d5472ee8e7d5dc694df81 /drivers | |
parent | gpio: bd71828: Remove unneeded defines for GPIO_LINE_DIRECTION_IN/OUT (diff) | |
download | linux-8131b73b22c25e57e926874bb284f61cc3f8ac5e.tar.xz linux-8131b73b22c25e57e926874bb284f61cc3f8ac5e.zip |
gpiolib: remove unnecessary argument from set_config call
Remove unnecessary argument when setting PIN_CONFIG_BIAS_DISABLE. No
argument is expected by pinctrl, so removing it should be harmless.
Fixes: 2148ad7790ea ("gpiolib: add support for disabling line bias")
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpiolib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 2b3e665a36e0..4d0106ceeba7 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -3051,7 +3051,6 @@ static int gpio_set_config(struct gpio_chip *gc, unsigned int offset, unsigned arg; switch (mode) { - case PIN_CONFIG_BIAS_DISABLE: case PIN_CONFIG_BIAS_PULL_DOWN: case PIN_CONFIG_BIAS_PULL_UP: arg = 1; |