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: 22756 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 90480202E4 for ; Fri, 27 Dec 2013 06:33:32 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kp14sf21815007pab.2 for ; Thu, 26 Dec 2013 22:33:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=w5CNidOtkHvsFSCY63p+QHMhebMn4wbVaXQIjab0OPI=; b=H0GGSpsJEOUWPeGrcPlH504pjsEFpfjV1U9NUHWLpIvRFPqRWlJ/FO1Rrq66UVkfGO vN6MWbZqqViTRxauBhAmcWgZs55DmYIzKLg96YNzxPVllzqoyBJbBAnvSiU/4+PoVTvU QNabNM/bmSwy37yuSR/Gz+iJa7Y1sJla4DjAkP7ftgc1ke3lCv2tCUOJfjrpURuF9ham Z/CFe6LvJ1kJPM/6fbdR9Ma8RdL8bSt1KE+G9ycMlrQIbyQLZoSgXEdSGCVeZTmAlqff Ult/cpPaN0wS7a9s7y7Xoy0kHv6m2eP6sEoj8i6SPmLM3yNAHzKcH91tGwF1rpF5Hsae JVfw== X-Gm-Message-State: ALoCoQkFOhh71LSFknDB90/g+hcc3BnkwYgpcSwUeVhx4SHpx/44H/Y/3ABPWVdoC/yW6GzfUgL3 X-Received: by 10.68.201.7 with SMTP id jw7mr18825912pbc.8.1388126011868; Thu, 26 Dec 2013 22:33:31 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.142 with SMTP id v14ls2600417qeu.35.gmail; Thu, 26 Dec 2013 22:33:31 -0800 (PST) X-Received: by 10.221.9.70 with SMTP id ov6mr3029505vcb.56.1388126011771; Thu, 26 Dec 2013 22:33:31 -0800 (PST) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id wv16si9911824vcb.47.2013.12.26.22.33.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:31 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.53 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.53; Received: by mail-vb0-f53.google.com with SMTP id o19so4665334vbm.12 for ; Thu, 26 Dec 2013 22:33:31 -0800 (PST) X-Received: by 10.58.146.5 with SMTP id sy5mr3149787veb.43.1388126011716; Thu, 26 Dec 2013 22:33:31 -0800 (PST) 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.59.13.131 with SMTP id ey3csp438650ved; Thu, 26 Dec 2013 22:33:31 -0800 (PST) X-Received: by 10.66.222.234 with SMTP id qp10mr1692061pac.156.1388126010951; Thu, 26 Dec 2013 22:33:30 -0800 (PST) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by mx.google.com with ESMTPS id qu5si23257671pbc.180.2013.12.26.22.33.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:30 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.53 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.53; Received: by mail-pb0-f53.google.com with SMTP id ma3so8867341pbc.26 for ; Thu, 26 Dec 2013 22:33:30 -0800 (PST) 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> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.53 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 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);