diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2017-02-16 14:27:15 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-03-14 14:42:19 +0100 |
commit | 84b90e0cabf6b71a1d6292fbe936f669328a3881 (patch) | |
tree | 2339f62f25deeb34a8938bb0c59ad13f621ce858 /drivers/pinctrl | |
parent | pinctrl: Fix trivial spelling typo in a comment (diff) | |
download | linux-84b90e0cabf6b71a1d6292fbe936f669328a3881.tar.xz linux-84b90e0cabf6b71a1d6292fbe936f669328a3881.zip |
pinctrl: samsung: Remove unused local variable
The local variable drvdata is not used in samsung_gpio_set_direction.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/samsung/pinctrl-samsung.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index f9ddba7decc1..0d2989d98bc3 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -566,13 +566,11 @@ static int samsung_gpio_set_direction(struct gpio_chip *gc, { const struct samsung_pin_bank_type *type; struct samsung_pin_bank *bank; - struct samsung_pinctrl_drv_data *drvdata; void __iomem *reg; u32 data, mask, shift; bank = gpiochip_get_data(gc); type = bank->type; - drvdata = bank->drvdata; reg = bank->pctl_base + bank->pctl_offset + type->reg_offset[PINCFG_TYPE_FUNC]; |