Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1579573
| From | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/4] pinctrl: samsung: Remove unused local variable |
| Date | 2017-02-13 11:20 +0100 |
| Message-ID | <talTI-2mg-5@gated-at.bofh.it> (permalink) |
| References | <talTH-2mg-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
drivers/pinctrl/samsung/pinctrl-samsung.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c
index f291cbf..eb08f30 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];
--
2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 4/4] pinctrl: samsung: Remove unused local variable Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2017-02-13 11:20 +0100
Re: [PATCH 4/4] pinctrl: samsung: Remove unused local variable Krzysztof Kozlowski <krzk@kernel.org> - 2017-02-15 18:50 +0100
Re: [PATCH 4/4] pinctrl: samsung: Remove unused local variable Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2017-02-16 11:40 +0100
csiph-web