Message ID | 1487251636-2480-3-git-send-email-ckeepax@opensource.wolfsonmicro.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Thu, Feb 16, 2017 at 2:27 PM, Charles Keepax <ckeepax@opensource.wolfsonmicro.com> wrote: > 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> > --- > > Changes since v1: > - Update commit message Patch applied. for v4.12. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 1134bc3..4ab20ec 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];