From patchwork Fri Dec 27 06:29:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 3408381 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5E4CEC02DC for ; Fri, 27 Dec 2013 06:33:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CB5D20144 for ; Fri, 27 Dec 2013 06:33:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C53232013A for ; Fri, 27 Dec 2013 06:33:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752866Ab3L0Gdb (ORCPT ); Fri, 27 Dec 2013 01:33:31 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36657 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752662Ab3L0Gda (ORCPT ); Fri, 27 Dec 2013 01:33:30 -0500 Received: by mail-pa0-f54.google.com with SMTP id rd3so9009507pab.13 for ; Thu, 26 Dec 2013 22:33:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=w5CNidOtkHvsFSCY63p+QHMhebMn4wbVaXQIjab0OPI=; b=aK0ojXI6r5Ce+z7HywnZfF2UzRgZJgqdrwtR7gClueWUWLIFpjP4zwMNDmUEyXqEOt fVPci7dSywvCyE9MpYkp1KxzC2L4o013yrDqOX5qBkWiM8Ftm4SV6PWroPJnu+o4Aazl iAfzT/+Q5fjzCyC+mgX/apZ3o9nTQpKjnZnBZWs9ja+p5sUuBLbEsCzAKA7cruw4P5A2 OiVaMtRDIXB6WdxdTZsUPtKStBgrdr7niLGw+LA1exzIrxPgDI2ULqTh9TqEhq/VIulV /Fa9BLC0Ttj3HA8nEIFCG2n4D0RHOvi0LXc1/+2jLkCkF5MzhpOjsFhVksgyu8U1qIE3 q0Rg== X-Gm-Message-State: ALoCoQleHmjSlMGyTBXvdghhbQBMHpxfhlejVpEyAnjBF4y4B/GFYbYuyk2uAfiXrZBdNlLwonAR X-Received: by 10.66.228.201 with SMTP id sk9mr775026pac.134.1388126010287; Thu, 26 Dec 2013 22:33:30 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id y9sm78003769pas.10.2013.12.26.22.33.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:29 -0800 (PST) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 2/3] ARM: SAMSUNG: Remove Exynos specific code from s5p-pm-irq.c Date: Fri, 27 Dec 2013 11:59:54 +0530 Message-Id: <1388125795-30418-3-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1388125795-30418-1-git-send-email-tushar.behera@linaro.org> References: <1388125795-30418-1-git-send-email-tushar.behera@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This file is only compiled when SAMSUNG_ATAGS is enabled, hence not for Exynos platform. Signed-off-by: Tushar Behera --- arch/arm/plat-samsung/s5p-irq-pm.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/arch/arm/plat-samsung/s5p-irq-pm.c b/arch/arm/plat-samsung/s5p-irq-pm.c index 5914980..52b1694 100644 --- a/arch/arm/plat-samsung/s5p-irq-pm.c +++ b/arch/arm/plat-samsung/s5p-irq-pm.c @@ -22,10 +22,7 @@ #include #include - -#ifndef CONFIG_ARCH_EXYNOS #include -#endif /* state for IRQs over sleep */ @@ -43,18 +40,8 @@ int s3c_irq_wake(struct irq_data *data, unsigned int state) unsigned long irqbit; unsigned int irq_rtc_tic, irq_rtc_alarm; -#ifdef CONFIG_ARCH_EXYNOS - if (soc_is_exynos5250()) { - irq_rtc_tic = EXYNOS5_IRQ_RTC_TIC; - irq_rtc_alarm = EXYNOS5_IRQ_RTC_ALARM; - } else { - irq_rtc_tic = EXYNOS4_IRQ_RTC_TIC; - irq_rtc_alarm = EXYNOS4_IRQ_RTC_ALARM; - } -#else irq_rtc_tic = IRQ_RTC_TIC; irq_rtc_alarm = IRQ_RTC_ALARM; -#endif if (data->irq == irq_rtc_tic || data->irq == irq_rtc_alarm) { irqbit = 1 << (data->irq + 1 - irq_rtc_alarm);