Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp356437yba; Thu, 18 Apr 2019 02:25:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3zqCtBNFQRAb3aFyxOk879LKd5nsuSjbDeIHmCMTvJuVh0lIIPweM4uI4YnyOShgRNdfQ X-Received: by 2002:a62:5f84:: with SMTP id t126mr94640438pfb.185.1555579554907; Thu, 18 Apr 2019 02:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555579554; cv=none; d=google.com; s=arc-20160816; b=mdJsBtXpQSaQw0nxxk5W1agwFkOwKnLKRf6dorKJ2/1LOrQ5uqzxeDb/CFKiOUZ/tI SX6Lz63CPZ3jW3gAorm7vspe4sAfdpH1y9Xtna8+5izsDfCl7XS5wlih/r6LvcStdh8B uTL8+SiVHjD0LCQ+aBFLpiRZoSxRwvf/eg0egrfBN2C5ZysxX7gRo7g91bBvZiuY2SUa Mr5JZ46IveFHJ0WWG01QXDFL8GQo3oREe8H1LO+MktR/9/mY07yqRO2x+Wdf0arfcO7S fpnkt89E9MYWlWsGkRO/+moS1dqAJNUE9l0e3QynsQgLV0tPlRV7KfydfMXVjhPTNjtU 0GDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=WpFhTtmy/7XfHFiVGy1iXynyM2/5EcQLxJpNs7u/Zlo=; b=FJ0ve0RFKi8JP9YO9i8ItGjBCr4N3AND0n2K9D0W29FVYhubAi+jcxfG8Vepb3+5CA rioE0hXMgiDA7/ljERb1m2pJdEWIJa6yXBiAB/cDtoC+uKuK3mqIHaaZ9ABFDWOCM33Q 5fJ4NYrGG1VhMGJVQ7UzWPIbnYMDKch8EVjirrajwGA84N97x6Ymm4zyN8X8Y4kk4wzc U/ngKRxSGRBdSx6+uFGA2V5EpdhQoa0bWhjmTJczjjp1WWvRkLtF5iqMf9wk6h6vBC10 hWumEVLtLrv1F0fEUIC8w6+ZVFCQ7SkS4i7VZGEio8bIM//A/uebmZGWLusSBUmqYU53 rrCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a20si1347653pgw.465.2019.04.18.02.25.39; Thu, 18 Apr 2019 02:25:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388448AbfDRJYH (ORCPT + 99 others); Thu, 18 Apr 2019 05:24:07 -0400 Received: from david.siemens.de ([192.35.17.14]:57695 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728093AbfDRJYG (ORCPT ); Thu, 18 Apr 2019 05:24:06 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x3I9NoBm010411 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Apr 2019 11:23:51 +0200 Received: from md1f2u6c.ad001.siemens.net (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x3I9NoXd030948; Thu, 18 Apr 2019 11:23:50 +0200 From: Jan Kiszka To: Andy Shevchenko , Linus Walleij , Bartosz Golaszewski Cc: Linux Kernel Mailing List , linux-gpio@vger.kernel.org Subject: [PATCH 1/2] gpio: sch: Remove write-only core_base Date: Thu, 18 Apr 2019 11:23:48 +0200 Message-Id: <1d2dafa4bfcd485cf28bb8e3a6e169d220edf555.1555579429.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka Signed-off-by: Jan Kiszka --- drivers/gpio/gpio-sch.c | 5 ----- 1 file changed, 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; -- 2.16.4