From patchwork Fri Dec 27 06:29:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 22755 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4BD1F202E4 for ; Fri, 27 Dec 2013 06:33:30 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id uo5sf26010474pbc.6 for ; Thu, 26 Dec 2013 22:33:29 -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=oRYhKG2PEg7z4RcR9KBSKZ5Su6WWnEHnLb749s3o50Q=; b=GS2h7i+tn3OrUreI7MGHL/ws+zwrB6028my4mzqiZnFeroxhVoWLmPGg7FHS4rBTFM b2s1giUSkwhAPd0VjGM21sveEPj36o56ZZ2Vo5yM6ranedLfvCYpHbVSP0turiy73XDn VcG1qrXyzLw6Gg5FzjOLc5uNbjgx+EGQs4vA+VeXkh7Dyjz/DSZDtj6njGrUrh6f3+Dj 1ztAGbXIE7WfgCX3SlLRVSzfYsjxP3yl9jKo9MedoHdFnF6ndhpyvvQ4vNCUGrNbpEn+ jjk4NWWsmQ3fQwyV210EeZpra/gT2rt6YuxTnZjWeKjpk3FJXkfq/0Fm7O/Gx7OJ6HKw gBCg== X-Gm-Message-State: ALoCoQmwG2HxW6ey4EEwiTqB5JikUz2lWsamFMH2dBpUduBtMSfYVd3k8Ybr2DJM1EWjKu6EkutZ X-Received: by 10.66.150.37 with SMTP id uf5mr2689880pab.46.1388126009448; Thu, 26 Dec 2013 22:33:29 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.101.39 with SMTP id fd7ls2560933qeb.16.gmail; Thu, 26 Dec 2013 22:33:29 -0800 (PST) X-Received: by 10.58.97.197 with SMTP id ec5mr219835veb.68.1388126009336; Thu, 26 Dec 2013 22:33:29 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id ef6si9911126ved.47.2013.12.26.22.33.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:29 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id ie18so4699965vcb.10 for ; Thu, 26 Dec 2013 22:33:29 -0800 (PST) X-Received: by 10.58.243.37 with SMTP id wv5mr3125316vec.41.1388126009261; Thu, 26 Dec 2013 22:33:29 -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 ey3csp438649ved; Thu, 26 Dec 2013 22:33:28 -0800 (PST) X-Received: by 10.66.187.11 with SMTP id fo11mr23987105pac.47.1388126008349; Thu, 26 Dec 2013 22:33:28 -0800 (PST) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx.google.com with ESMTPS id ob10si23269928pbb.37.2013.12.26.22.33.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:28 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.52 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.220.52; Received: by mail-pa0-f52.google.com with SMTP id ld10so9042140pab.11 for ; Thu, 26 Dec 2013 22:33:28 -0800 (PST) X-Received: by 10.68.245.200 with SMTP id xq8mr48373177pbc.21.1388126007983; Thu, 26 Dec 2013 22:33:27 -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.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 22:33:27 -0800 (PST) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 1/3] ARM: SAMSUNG: Remove Exynos specific code from devs.c Date: Fri, 27 Dec 2013 11:59:53 +0530 Message-Id: <1388125795-30418-2-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.220.179 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/devs.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index ac07e87..ea41444 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -744,10 +744,7 @@ void __init s5p_i2c_hdmiphy_set_platdata(struct s3c2410_platform_i2c *pd) if (!pd) { pd = &default_i2c_data; - if (soc_is_exynos4210() || - soc_is_exynos4212() || soc_is_exynos4412()) - pd->bus_num = 8; - else if (soc_is_s5pv210()) + if (soc_is_s5pv210()) pd->bus_num = 3; else pd->bus_num = 0; @@ -764,10 +761,7 @@ void __init s5p_hdmi_set_platdata(struct i2c_board_info *hdmiphy_info, { struct s5p_hdmi_platform_data *pd = &s5p_hdmi_def_platdata; - if (soc_is_exynos4210() || - soc_is_exynos4212() || soc_is_exynos4412()) - pd->hdmiphy_bus = 8; - else if (soc_is_s5pv210()) + if (soc_is_s5pv210()) pd->hdmiphy_bus = 3; else pd->hdmiphy_bus = 0;