From patchwork Fri Oct 11 17:28:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 20975 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D4E6D25EA1 for ; Fri, 11 Oct 2013 17:28:28 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id x13sf11586227ief.1 for ; Fri, 11 Oct 2013 10:28:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=DMCsd/LU1bkNV7kOJvppsLk0+qmPtzqtQfJT6Qxyp6I=; b=PH3/uK9tPcloPHL7jlSvYmj655tuXma+qkmvzpGkKd1aSI9/+ZjlYF6RUX1nRScPf6 fzKFTkOhCZrj70o9NWpzqlreNcqTwR6/xAewJr2EKiiBISQN4C3/fE1hOLv5qTca9m/E Rq4cHz63reR8La5GeZtfB7Kaqd8DbeTZ6aJN50Xygu4oUolF9rxo5TlkLcVcxUkxzudb 9xgFnWvCDqkTPYrX9ZxEqvUMSha6eswJ7iM87p6PgMtg9za132k9ll7eTat1VjUydzM5 eQ/3P6JtP30dRHlqyTyiO4R/fP8OJapSIKdYQ1l+u2LQpnTu7WJp5x58nVGKS8m1RipO 6Rcw== X-Received: by 10.50.73.37 with SMTP id i5mr2034232igv.2.1381512508127; Fri, 11 Oct 2013 10:28:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.99 with SMTP id t3ls1085096qeu.27.gmail; Fri, 11 Oct 2013 10:28:28 -0700 (PDT) X-Received: by 10.221.47.193 with SMTP id ut1mr22173461vcb.8.1381512508005; Fri, 11 Oct 2013 10:28:28 -0700 (PDT) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx.google.com with ESMTPS id m10si17055135vcm.57.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 10:28:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.50; Received: by mail-vb0-f50.google.com with SMTP id x14so3057667vbb.9 for ; Fri, 11 Oct 2013 10:28:27 -0700 (PDT) X-Gm-Message-State: ALoCoQmXDRAxhjDaBkTBZyLceLboCroE7DzwJycorvFu6Af1jCfywU48Xzu6AwmI+obXYiSorCjQ X-Received: by 10.52.33.44 with SMTP id o12mr18578435vdi.7.1381512507891; Fri, 11 Oct 2013 10:28:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp57039vcz; Fri, 11 Oct 2013 10:28:27 -0700 (PDT) X-Received: by 10.180.105.36 with SMTP id gj4mr4230454wib.14.1381512506988; Fri, 11 Oct 2013 10:28:26 -0700 (PDT) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by mx.google.com with ESMTPS id wr5si21156041wjc.49.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 10:28:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.169 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.212.169; Received: by mail-wi0-f169.google.com with SMTP id cb5so1528482wib.0 for ; Fri, 11 Oct 2013 10:28:26 -0700 (PDT) X-Received: by 10.194.23.73 with SMTP id k9mr18969293wjf.24.1381512506438; Fri, 11 Oct 2013 10:28:26 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id dq11sm7602733wid.3.2013.10.11.10.28.23 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Fri, 11 Oct 2013 10:28:25 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij , David Cohen Subject: [PATCH] gpio: intel-mid: drop references to "virtual" IRQ Date: Fri, 11 Oct 2013 19:28:15 +0200 Message-Id: <1381512495-6917-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Rename the argument "virq" to just "irq", this IRQ isn't any more "virtual" than any other Linux IRQ number, we use "hwirq" for the actual hw-numbers, "virq" is just bogus. Cc: David Cohen Signed-off-by: Linus Walleij --- drivers/gpio/gpio-intel-mid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-intel-mid.c b/drivers/gpio/gpio-intel-mid.c index 612b54d..be803af 100644 --- a/drivers/gpio/gpio-intel-mid.c +++ b/drivers/gpio/gpio-intel-mid.c @@ -353,15 +353,15 @@ static void intel_mid_irq_init_hw(struct intel_mid_gpio *priv) } } -static int intel_gpio_irq_map(struct irq_domain *d, unsigned int virq, - irq_hw_number_t hw) +static int intel_gpio_irq_map(struct irq_domain *d, unsigned int irq, + irq_hw_number_t hwirq) { struct intel_mid_gpio *priv = d->host_data; - irq_set_chip_and_handler_name(virq, &intel_mid_irqchip, + irq_set_chip_and_handler_name(irq, &intel_mid_irqchip, handle_simple_irq, "demux"); - irq_set_chip_data(virq, priv); - irq_set_irq_type(virq, IRQ_TYPE_NONE); + irq_set_chip_data(irq, priv); + irq_set_irq_type(irq, IRQ_TYPE_NONE); return 0; }