From patchwork Sat Sep 27 05:41:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 4989021 Return-Path: X-Original-To: patchwork-linux-arm@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 237099FB83 for ; Sat, 27 Sep 2014 05:50:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5EC002022D for ; Sat, 27 Sep 2014 05:50:14 +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 04C1820222 for ; Sat, 27 Sep 2014 05:50:10 +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 1XXkr0-0002Wo-TK; Sat, 27 Sep 2014 05:47:34 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XXkqY-0002Pf-Uh for linux-arm-kernel@lists.infradead.org; Sat, 27 Sep 2014 05:47:07 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NCJ00FX6PDXMCC0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 27 Sep 2014 14:46:45 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.126]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 1C.90.18167.54F46245; Sat, 27 Sep 2014 14:46:45 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-7d-54264f452876 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id E1.63.09430.54F46245; Sat, 27 Sep 2014 14:46:45 +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 <0NCJ00K2DPDPV990@mmp2.samsung.com>; Sat, 27 Sep 2014 14:46:45 +0900 (KST) From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/3] clk: samsung: remove unnecessary CONFIG_OF from clk.c Date: Sat, 27 Sep 2014 11:11:58 +0530 Message-id: <1411796519-19417-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1411796519-19417-1-git-send-email-pankaj.dubey@samsung.com> References: <1411796519-19417-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsWyRsSkTtfVXy3EoO+etEXvgqtsFpseX2O1 mHF+H5PF0wkX2Sw+Hf3ParFo6xd2i8Nv2lktVu36w+jA4bFz1l12jzvX9rB5bF5S79G3ZRWj x+dNcgGsUVw2Kak5mWWpRfp2CVwZaxe1MRX8YK/YuOktcwPjDbYuRk4OCQETiWtnLzFB2GIS F+6tB4pzcQgJLGWUmLL+FTNM0Ya2/0wQiemMEk9XzIVyJjBJTNi+B2wUm4CuxJP3c4E6ODhE BLwlll9TBKlhFljIKLHr7jVWkBphAS+JCYv2MILYLAKqErcm/APr5RXwkNi+by0LSK+EgILE nEk2IGFOAU+Jw2vawVqFgEoeXHjCDjJTQmAZu8T0yU1QcwQkvk0+BNUrK7HpANTRkhIHV9xg mcAovICRYRWjaGpBckFxUnqRiV5xYm5xaV66XnJ+7iZGYLif/vd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Ktzs7np5111Pt69fXV/3Wbth5XKJ5XxxNtskb6k+8HN3/pP/M3NJkcne k/ybrwSd+fbkwMEjD8vTVDTZm+IerWD6v6Fl3akrr8Vscq/Hu92W8VdiKc5INNRiLipOBADD HmgmvAIAAA== 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-20140926_224707_121235_050F64E1 X-CRM114-Status: UNSURE ( 6.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) 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.8 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 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)