diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2019-04-18 11:23:48 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-23 13:08:33 +0200 |
commit | 4a4b119b176e992912941a1e9dfa9d138b1c2faa (patch) | |
tree | 72f4dd8353a4d9b17b3884bc7dafbc9b5fc48373 /drivers/gpio/gpio-sch.c | |
parent | 1e9aa2a8164fa5b443b10962045eef01d7eeb9f7 (diff) | |
download | linux-4a4b119b176e992912941a1e9dfa9d138b1c2faa.tar.gz linux-4a4b119b176e992912941a1e9dfa9d138b1c2faa.tar.bz2 linux-4a4b119b176e992912941a1e9dfa9d138b1c2faa.zip |
gpio: sch: Remove write-only core_base
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-sch.c')
-rw-r--r-- | drivers/gpio/gpio-sch.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c index c333046d02b8..fb143f28c386 100644 --- a/drivers/gpio/gpio-sch.c +++ b/drivers/gpio/gpio-sch.c @@ -23,7 +23,6 @@ struct sch_gpio { struct gpio_chip chip; spinlock_t lock; unsigned short iobase; - unsigned short core_base; unsigned short resume_base; }; @@ -166,7 +165,6 @@ static int sch_gpio_probe(struct platform_device *pdev) switch (pdev->id) { case PCI_DEVICE_ID_INTEL_SCH_LPC: - sch->core_base = 0; sch->resume_base = 10; sch->chip.ngpio = 14; @@ -185,19 +183,16 @@ static int sch_gpio_probe(struct platform_device *pdev) break; case PCI_DEVICE_ID_INTEL_ITC_LPC: - sch->core_base = 0; sch->resume_base = 5; sch->chip.ngpio = 14; break; case PCI_DEVICE_ID_INTEL_CENTERTON_ILB: - sch->core_base = 0; sch->resume_base = 21; sch->chip.ngpio = 30; break; case PCI_DEVICE_ID_INTEL_QUARK_X1000_ILB: - sch->core_base = 0; sch->resume_base = 2; sch->chip.ngpio = 8; break; |