From patchwork Tue Feb 5 19:48:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 14570 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B431C23E92 for ; Tue, 5 Feb 2013 19:49:28 +0000 (UTC) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by fiordland.canonical.com (Postfix) with ESMTP id 7294CA1929A for ; Tue, 5 Feb 2013 19:49:28 +0000 (UTC) Received: by mail-ve0-f170.google.com with SMTP id 14so462262vea.29 for ; Tue, 05 Feb 2013 11:49:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:content-type:x-gm-message-state; bh=kOtwDzBet7/R9lY66KU8EmKfScSHXNdOskK89c/At0k=; b=IIBgaic6XV8CgjADhtqrJjsg9a1VYigGxQw7EXtHZCEgC/6qkSy7lkATpiZESRnvra UyyR4dVzOQu3aAQkkZgQg6TpEoZme/Sh4FhzJS7qb104Vyyhrjb/xgcvWTNyGJOJ3Omz 6YzxK48duVuahfD/6Y4pBq9946LiMKqqNP05cRaPzD4DO16ORYgVzui2QwGu28QGRBtl hxfcmXi+jgk43dfPKhOdqh3/4sG+yFhNoYyHQogCriVJ2MjM6LmYqqaBXN2oARgDWVv6 C5agrmOhL4YjEwxJB6XX8XtK4k32Wn4y2g9wFbI2VCDbkuBVmt2B2cFk5Ap8/CpEAm2u Wk8A== X-Received: by 10.220.153.143 with SMTP id k15mr28926778vcw.33.1360093768011; Tue, 05 Feb 2013 11:49:28 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp143969vec; Tue, 5 Feb 2013 11:49:27 -0800 (PST) X-Received: by 10.14.2.196 with SMTP id 44mr88832596eef.25.1360093766838; Tue, 05 Feb 2013 11:49:26 -0800 (PST) Received: from eu1sys200aog105.obsmtp.com (eu1sys200aog105.obsmtp.com [207.126.144.119]) by mx.google.com with SMTP id u9si36937565eep.144.2013.02.05.11.49.18 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 05 Feb 2013 11:49:26 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.119 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.119; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.119 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob105.postini.com ([207.126.147.11]) with SMTP ID DSNKURFiO/oQs76pblRLESc2VAJz/OJ0DLK2@postini.com; Tue, 05 Feb 2013 19:49:26 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 7544CB4; Tue, 5 Feb 2013 19:41:03 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 79D28D42; Tue, 5 Feb 2013 19:49:12 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 4E2F3A8072; Tue, 5 Feb 2013 20:49:04 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 5 Feb 2013 20:49:11 +0100 From: Linus Walleij To: , Cc: Stephen Warren , Anmar Oueja , Lee Jones , , Linus Walleij Subject: [PATCH 11/14] ARM: ux500: remove irq_base property from platform_data Date: Tue, 5 Feb 2013 20:48:32 +0100 Message-ID: <1360093715-6348-12-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1360093715-6348-1-git-send-email-linus.walleij@stericsson.com> References: <1360093715-6348-1-git-send-email-linus.walleij@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlMG6zZjgDvYNuAKM7DNL1otf9CLixj40mUaSAFvwLhv+Xnh6nInuvvhcXg6R0en5Deet3f From: Lee Jones AB8500 GPIO no longer handles its GPIO IRQs. Instead, the AB8500 core driver has taken back the responsibility. Prior to this happening, the AB8500 GPIO driver provided a set of virtual IRQs which were used as a pass-through. These virtual IRQs had a base of MOP500_AB8500_VIR_GPIO_IRQ_BASE, which was passed though pdata. We don't need to do this anymore, so we're pulling out the property from the structure. Cc: arm@kernel.org Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Requesting an ACK from the ARM SoC maintainers on this patch. --- arch/arm/mach-ux500/board-mop500.c | 1 - include/linux/mfd/abx500/ab8500-gpio.h | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index b6f14ee..b8781ca 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -92,7 +92,6 @@ static struct platform_device snowball_gpio_en_3v3_regulator_dev = { static struct abx500_gpio_platform_data ab8500_gpio_pdata = { .gpio_base = MOP500_AB8500_PIN_GPIO(1), - .irq_base = MOP500_AB8500_VIR_GPIO_IRQ_BASE, }; /* ab8500-codec */ diff --git a/include/linux/mfd/abx500/ab8500-gpio.h b/include/linux/mfd/abx500/ab8500-gpio.h index e8c8281..172b2f2 100644 --- a/include/linux/mfd/abx500/ab8500-gpio.h +++ b/include/linux/mfd/abx500/ab8500-gpio.h @@ -16,7 +16,6 @@ struct abx500_gpio_platform_data { int gpio_base; - u32 irq_base; }; enum abx500_gpio_pull_updown {