From patchwork Fri Dec 27 06:29:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 3408391 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 685F29F169 for ; Fri, 27 Dec 2013 06:33:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A57AF20144 for ; Fri, 27 Dec 2013 06:33:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D29F52013A for ; Fri, 27 Dec 2013 06:33:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752902Ab3L0Gdd (ORCPT ); Fri, 27 Dec 2013 01:33:33 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:59512 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752662Ab3L0Gdd (ORCPT ); Fri, 27 Dec 2013 01:33:33 -0500 Received: by mail-pa0-f43.google.com with SMTP id bj1so9004898pad.30 for ; Thu, 26 Dec 2013 22:33:32 -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=7BA2tDXvziGddP1eCG2V3G5npFjpnERed+iW41NlTmY=; b=fFiT52o2AISlLyo82l0+7JaZHdIuhHT8YFGcNUUltAayvgqNDvbRzmb7/SMb4cQGO2 UzWcl4Ius22gRdI93UFFmlOAOEPBnSlytnX+PUtlFUaRrkcKhOB/wZn9Efp/75vD+RxW EyozwmLzN9UVHLV5rtCfGHTqemAlhx1SOTzmxr9jIpuuzzQeyyP38BMJRCiC1fHKkW/F p9cXMmSuCmnmd7fb5bKgfxReKX3CGkEYO/5kb34GCtXzSlQrn9qQ2SibUV4T4LvsoiAG SLVnU1ewxpZayu6kaUhImESUSwpJAYC9UPL0OLgVQYg5Xod5fzKp8rIfU1/VtQNmYOWn /dQA== X-Gm-Message-State: ALoCoQmYgsdTDTDbBeopYAG5RleTUdclho5vCAOBJmfT8l5OLtGGEp/Jpd3EzQ4KGtAZ7fmlG74Q X-Received: by 10.68.164.165 with SMTP id yr5mr49088375pbb.146.1388126012566; Thu, 26 Dec 2013 22:33:32 -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.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:32 -0800 (PST) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 3/3] ARM: SAMSUNG: Remove Exynos specific code from pm-gpio.c Date: Fri, 27 Dec 2013 11:59:55 +0530 Message-Id: <1388125795-30418-4-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/pm-gpio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-samsung/pm-gpio.c b/arch/arm/plat-samsung/pm-gpio.c index c4efa1c..81b0a20 100644 --- a/arch/arm/plat-samsung/pm-gpio.c +++ b/arch/arm/plat-samsung/pm-gpio.c @@ -198,8 +198,7 @@ struct samsung_gpio_pm samsung_gpio_pm_2bit = { .resume = samsung_gpio_pm_2bit_resume, }; -#if defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_PLAT_S5P) \ - || defined(CONFIG_ARCH_EXYNOS) +#if defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_PLAT_S5P) static void samsung_gpio_pm_4bit_save(struct samsung_gpio_chip *chip) { chip->pm_save[1] = __raw_readl(chip->base + OFFS_CON); @@ -309,7 +308,7 @@ struct samsung_gpio_pm samsung_gpio_pm_4bit = { .save = samsung_gpio_pm_4bit_save, .resume = samsung_gpio_pm_4bit_resume, }; -#endif /* CONFIG_ARCH_S3C64XX || CONFIG_PLAT_S5P || CONFIG_ARCH_EXYNOS */ +#endif /* CONFIG_ARCH_S3C64XX || CONFIG_PLAT_S5P */ /** * samsung_pm_save_gpio() - save gpio chip data for suspend