summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2020-01-20 11:46:26 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-02-10 10:55:18 +0100
commit8131b73b22c25e57e926874bb284f61cc3f8ac5e (patch)
tree18cf43504b8612a0b35d5472ee8e7d5dc694df81 /drivers
parentgpio: bd71828: Remove unneeded defines for GPIO_LINE_DIRECTION_IN/OUT (diff)
downloadlinux-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.c1
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;