From patchwork Mon Sep 29 07:47:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 4994191 Return-Path: X-Original-To: patchwork-linux-arm@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 E64DABEEA6 for ; Mon, 29 Sep 2014 07:55:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B11B2025B for ; Mon, 29 Sep 2014 07:55:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4FCA4201FB for ; Mon, 29 Sep 2014 07:55:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYVlz-0001Ap-LJ; Mon, 29 Sep 2014 07:53:31 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XYVln-0000zq-KM for linux-arm-kernel@lists.infradead.org; Mon, 29 Sep 2014 07:53:20 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NCN00M8XKK9IS70@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 29 Sep 2014 16:52:57 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id EA.4A.11124.8DF09245; Mon, 29 Sep 2014 16:52:56 +0900 (KST) X-AuditID: cbfee68e-f79b46d000002b74-4c-54290fd88a7f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 82.9B.20081.8DF09245; Mon, 29 Sep 2014 16:52:56 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NCN00M98KJIMGC0@mmp2.samsung.com>; Mon, 29 Sep 2014 16:52:56 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 2/3] clk: samsung: remove unnecessary CONFIG_OF from clk.c Date: Mon, 29 Sep 2014 13:17:47 +0530 Message-id: <1411976868-22209-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1411976868-22209-1-git-send-email-pankaj.dubey@samsung.com> References: <1411976868-22209-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsWyRsSkRvcGv2aIwYvF1ha9C66yWWx6fI3V Ysb5fUwWTydcZLP4dPQ/q8WirV/YLQ6/aWe1WLXrD6MDh8fOWXfZPe5c28PmsXlJvUffllWM Hp83yQWwRnHZpKTmZJalFunbJXBlTHnkX7CGo6Ll8U2WBsYW9i5GTg4JAROJyUv/skHYYhIX 7q0Hsrk4hASWMkp0NK1kgSl6f3saC0RiOqPEgn2n2CGcCUwSHTNng41iE9CVePJ+LnMXIweH iIC3xPJriiA1zAILGSV23b3GClIjLOAr8ePHHEYQm0VAVeLt6ftgcV4BD4nN656ygPRKCChI zJlkAxLmFPCU2LJmGxOILQRUMrv5HDPITAmBZewSe7d8YoOYIyDxbfIhqF5ZiU0HmCGOlpQ4 uOIGywRG4QWMDKsYRVMLkguKk9KLjPSKE3OLS/PS9ZLz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375+4x4yQcfSLeDYLRfuthcVeutZv31V3XJ3rfCz3lvuU/2W7VVYUP5sp37UmzzT2Aul kSJpjw93mRaXMDue42V+abZlYRJDoqpuxQ82R9Hl4VvPiTSrhb7M2LdYiaU4I9FQi7moOBEA 7dWzt7sCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140929_005319_819261_25BCD719 X-CRM114-Status: UNSURE ( 7.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: kgene.kim@samsung.com, mturquette@linaro.org, naushad@samsung.com, Pankaj Dubey , tomasz.figa@gmail.com, s.nawrocki@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Remove unnecessary CONFIG_OF from samsung/clk.c. Signed-off-by: Pankaj Dubey --- drivers/clk/samsung/clk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c index deab84d..31bf391 100644 --- a/drivers/clk/samsung/clk.c +++ b/drivers/clk/samsung/clk.c @@ -281,7 +281,6 @@ void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx, * obtain the clock speed of all external fixed clock sources from device * tree and register it */ -#ifdef CONFIG_OF void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, struct samsung_fixed_rate_clock *fixed_rate_clk, unsigned int nr_fixed_rate_clk, @@ -298,7 +297,6 @@ void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, } samsung_clk_register_fixed_rate(ctx, fixed_rate_clk, nr_fixed_rate_clk); } -#endif /* utility function to get the rate of a specified clock */ unsigned long _get_rate(const char *clk_name)