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: 22757 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9E366202E4 for ; Fri, 27 Dec 2013 06:33:34 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id e14sf40959320iej.8 for ; Thu, 26 Dec 2013 22:33:33 -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=7BA2tDXvziGddP1eCG2V3G5npFjpnERed+iW41NlTmY=; b=U2MEXvJW/+iJUaKea0rSBV/FDhRBSR8DB93B+IF9Yofj+31p8S8ffuEEu9JAOqRu8g pZr0MUwsqiXHoOTQq0j1ksJ7T68CBQda+4ETeXb1i7qlh2ESguzMiWCPHfDIC8eghrgJ 9RKf5IbpLkVEgRI9UZvTXDaW/prKAQA9Z+tS7C3Jqq8IO0igPpmwEPoznA4B8yxe2k5H oM2bngfrtGqBIJ2y6GkIbXrenmxQjYOMLjW+pnookezIqcZJ+mExt1N1oi3ml7meYSHm LBJw3T38Z0C/3RATwWHklDsqLDicR9jJkqv5DOButUNYaVqNEiO3SFSFGq/qjLoW5tR6 aHAg== X-Gm-Message-State: ALoCoQksDYc8Z1lea08Rzizy8TytglWwM+otp9g8aqMkMbr9A87erM+6ZAksSGSBwzQDb594SRT+ X-Received: by 10.50.164.193 with SMTP id ys1mr19348907igb.6.1388126013850; Thu, 26 Dec 2013 22:33:33 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.130.195 with SMTP id og3ls2729288qeb.62.gmail; Thu, 26 Dec 2013 22:33:33 -0800 (PST) X-Received: by 10.220.196.82 with SMTP id ef18mr212696vcb.78.1388126013758; Thu, 26 Dec 2013 22:33:33 -0800 (PST) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id a6si9879383vdp.91.2013.12.26.22.33.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:33 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.52 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.52; Received: by mail-vb0-f52.google.com with SMTP id p5so4483070vbn.39 for ; Thu, 26 Dec 2013 22:33:33 -0800 (PST) X-Received: by 10.220.194.68 with SMTP id dx4mr4235161vcb.24.1388126013697; Thu, 26 Dec 2013 22:33:33 -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 ey3csp438655ved; Thu, 26 Dec 2013 22:33:33 -0800 (PST) X-Received: by 10.66.147.9 with SMTP id tg9mr48076981pab.5.1388126012948; Thu, 26 Dec 2013 22:33:32 -0800 (PST) Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by mx.google.com with ESMTPS id xa2si23220512pab.171.2013.12.26.22.33.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:32 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.171 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.192.171; Received: by mail-pd0-f171.google.com with SMTP id z10so8700351pdj.16 for ; Thu, 26 Dec 2013 22:33:32 -0800 (PST) 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> 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.52 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/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