From patchwork Fri Oct 11 17:11:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 20972 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 972EF25EA1 for ; Fri, 11 Oct 2013 17:12:09 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id vb8sf17904635obc.2 for ; Fri, 11 Oct 2013 10:12:08 -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=VCoqiybQ5p4xNuIG6LkpNPZTiwACVJOARXbNOxo2MGU=; b=MtNvX0IXGdmfJKLH8fhzfeMYPpCkkn5FhIaS0LaekfeyYTpWrSJau1IN0hdh/YZynQ nvUAQ0IrDqOH65zasE3B7YT2s6u6KxGwpwSsto7uOBibpw+XwvK2ukSkFnAQM9KRk8HC lNWyvL1HvzkV1iecUbRsiLt9KQhQ47n9TIo6PoSxpZb77snHHEC1bRmRfLEwcJ6TJFgN btMYUBfaFWJTpG7/jTBHxZLPWrzOzsMe7W8qkNdEgfIar2w8mesdzTfeWBl4SJiF0uhH FKxJfQ8SwMD/CTM/rK/RtdaOs5t0YUzt3AzJiZFdwIk0J0PPkNhfqTZUSKRkWhNFHdDf LsPw== X-Received: by 10.182.107.197 with SMTP id he5mr6834104obb.19.1381511528775; Fri, 11 Oct 2013 10:12:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.2.166 with SMTP id 6ls1419216qev.69.gmail; Fri, 11 Oct 2013 10:12:08 -0700 (PDT) X-Received: by 10.52.33.44 with SMTP id o12mr18527193vdi.7.1381511528662; Fri, 11 Oct 2013 10:12:08 -0700 (PDT) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx.google.com with ESMTPS id o5si17016293vdw.37.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 10:12:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.51 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.51; Received: by mail-vb0-f51.google.com with SMTP id x16so2941234vbf.24 for ; Fri, 11 Oct 2013 10:12:08 -0700 (PDT) X-Gm-Message-State: ALoCoQmtZDLyJsx0t+OSAh4KebJGB9GEb4mPm+R3OFrugkjCxsAXoqtI7q/Rp19uma1UrDNbOmam X-Received: by 10.52.169.227 with SMTP id ah3mr988158vdc.45.1381511528570; Fri, 11 Oct 2013 10:12:08 -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 u4csp56024vcz; Fri, 11 Oct 2013 10:12:06 -0700 (PDT) X-Received: by 10.194.240.197 with SMTP id wc5mr18701158wjc.23.1381511526519; Fri, 11 Oct 2013 10:12:06 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id dh4si21143697wjb.23.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 10:12:06 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=74.125.82.178; Received: by mail-we0-f178.google.com with SMTP id q59so4463518wes.37 for ; Fri, 11 Oct 2013 10:12:05 -0700 (PDT) X-Received: by 10.194.71.72 with SMTP id s8mr2671575wju.52.1381511525854; Fri, 11 Oct 2013 10:12:05 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id e1sm7456628wij.6.2013.10.11.10.12.04 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Fri, 11 Oct 2013 10:12:05 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot , Linus Walleij , Lars Poeschel Subject: [PATCH] gpio: adnp: rename "virq" to "child_irq" Date: Fri, 11 Oct 2013 19:11:58 +0200 Message-Id: <1381511518-5929-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.51 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: , This variable is confusingly named, the different Linux IRQs aren't any more virtual than any other Linux IRQ. Give it a non-misleading name. Cc: Lars Poeschel Signed-off-by: Linus Walleij --- drivers/gpio/gpio-adnp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c index 6439e0e..b204033 100644 --- a/drivers/gpio/gpio-adnp.c +++ b/drivers/gpio/gpio-adnp.c @@ -325,9 +325,9 @@ static irqreturn_t adnp_irq(int irq, void *data) pending &= isr & ier; for_each_set_bit(bit, &pending, 8) { - unsigned int virq; - virq = irq_find_mapping(adnp->domain, base + bit); - handle_nested_irq(virq); + unsigned int child_irq; + child_irq = irq_find_mapping(adnp->domain, base + bit); + handle_nested_irq(child_irq); } }