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: 3408371 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 C86B8C02DC for ; Fri, 27 Dec 2013 06:33:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 17D0520144 for ; Fri, 27 Dec 2013 06:33:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 446FA2013A for ; Fri, 27 Dec 2013 06:33:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752783Ab3L0Gd2 (ORCPT ); Fri, 27 Dec 2013 01:33:28 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:37327 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752662Ab3L0Gd2 (ORCPT ); Fri, 27 Dec 2013 01:33:28 -0500 Received: by mail-pa0-f41.google.com with SMTP id lf10so9041331pab.28 for ; Thu, 26 Dec 2013 22:33:28 -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=oRYhKG2PEg7z4RcR9KBSKZ5Su6WWnEHnLb749s3o50Q=; b=PpR839wdwTV31EyhJ2D6CGZELNPt/UbMRCkJd+37exE3tnNYPjVVS+wQidvLip9Yfw 3RJOKjo36kCjymKiqiw9vmGjOOWPl/ZADaHLERhITS2gJZd4psSoB004cp8jlOiA1xrp ZcHOE5Lj4wQ6OTugFKXe1NwxrtP2B8leM1hnX2sTCNrQHwFyG9v3nd55QhWQc710LyfD 0QRxz1Dg/6W25YVD2NLRpfd9qI0jx06/PycieCWEukLiSRexOxmHRKDlNxznBt4itETQ tKeGjEveyoy1K4bw3HtSkbIZ0pXx8scKQYaweyBlj+nBRKrTjxSb2CLgx4uv2EBJod17 Wz9w== X-Gm-Message-State: ALoCoQm1tjWW5pVlLSQWQYDYlHBBXXUVtR5dZvzc5BuPHK6d7gPfU/d4V4SJQ1DBlD9YjnsNNmg2 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> 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/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;