From patchwork Thu Apr 30 04:42:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6299791 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F37A09F326 for ; Thu, 30 Apr 2015 04:46:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1DA59201C8 for ; Thu, 30 Apr 2015 04:46:52 +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 49640201B9 for ; Thu, 30 Apr 2015 04:46:51 +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 1YngKh-0000lL-EP; Thu, 30 Apr 2015 04:44:19 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YngJz-0000RR-5w for linux-arm-kernel@lists.infradead.org; Thu, 30 Apr 2015 04:43:36 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNL00G9ERRXKO30@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 30 Apr 2015 05:43:09 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-28-5541b2e2cccb Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id B7.66.05269.2E2B1455; Thu, 30 Apr 2015 05:43:14 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NNL004IMRRKH210@eusync4.samsung.com>; Thu, 30 Apr 2015 05:43:08 +0100 (BST) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Kukjin Kim , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 3/3] clocksource: exynos_mct: Remove old platform mct_init() Date: Thu, 30 Apr 2015 13:42:53 +0900 Message-id: <1430368973-23786-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1430368973-23786-1-git-send-email-k.kozlowski@samsung.com> References: <1430368973-23786-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsVy+t/xa7qPNjmGGqzusrC4/uU5q8W8z7IW k+5PYLF4/cLQov/xa2aLTY+vsVpc3jWHzWLG+X1MFps3TWV24PTYtKqTzePOtT1sHu/OnWP3 2Lyk3qNvyypGj8+b5ALYorhsUlJzMstSi/TtErgyNmzcylqwiqPi47QDrA2MvexdjJwcEgIm Etf/72ODsMUkLtxbD2RzcQgJLGWUaNl9hhnC+c8oca3zKVgHm4CxxOblS8CqRAQeMEp0PFoB 1s4sUCUx7+0OVhBbWMBH4sWHB8wgNouAqsSMZd+YQGxeAXeJ0xN7mCHWyUmcPDYZrJ5TwENi +dY9YHEhoJplJ6+yTmDkXcDIsIpRNLU0uaA4KT3XSK84Mbe4NC9dLzk/dxMjJOC+7mBceszq EKMAB6MSD6+EiUOoEGtiWXFl7iFGCQ5mJRFeifWOoUK8KYmVValF+fFFpTmpxYcYpTlYlMR5 Z+56HyIkkJ5YkpqdmlqQWgSTZeLglGpglDnFMUfR/HlDa2le5PIaJrHLOi5rKxTU77rNnP5w DduCJRb7N3vLVc/5ULblhZ0gc8jLydZMWRNlJvCbxS3vVfn/eXvKVsuoho0Xfy5osn6mwfxx VkyVkvsbk6DUe6fjlB6fecMu+vRvIXN410O+cIUPanvOtCqeymBvFUsJ3uB+WsfgrhaTEktx RqKhFnNRcSIApFtQJTQCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150429_214335_375088_F09D0FEB X-CRM114-Status: UNSURE ( 7.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Inki Dae , Chanwoo Choi , Krzysztof Kozlowski 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 Since commit 228e3023eb04 ("Merge tag 'mct-exynos-for-v3.10' of ...") the mct_init() was superseded by mct_init_dt() and is not referenced anywhere. Remove it. Signed-off-by: Krzysztof Kozlowski --- drivers/clocksource/exynos_mct.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 8b2a9fc66dcc..935b05936dbd 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -560,18 +560,6 @@ out_irq: free_percpu_irq(mct_irqs[MCT_L0_IRQ], &percpu_mct_tick); } -void __init mct_init(void __iomem *base, int irq_g0, int irq_l0, int irq_l1) -{ - mct_irqs[MCT_G0_IRQ] = irq_g0; - mct_irqs[MCT_L0_IRQ] = irq_l0; - mct_irqs[MCT_L1_IRQ] = irq_l1; - mct_int_type = MCT_INT_SPI; - - exynos4_timer_resources(NULL, base); - exynos4_clocksource_init(); - exynos4_clockevent_init(); -} - static void __init mct_init_dt(struct device_node *np, unsigned int int_type) { u32 nr_irqs, i;