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: 6299761 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 D895F9F326 for ; Thu, 30 Apr 2015 04:43:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 138AC201B9 for ; Thu, 30 Apr 2015 04:43:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 61CCA20149 for ; Thu, 30 Apr 2015 04:43:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751037AbbD3EnO (ORCPT ); Thu, 30 Apr 2015 00:43:14 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:49607 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbbD3EnL (ORCPT ); Thu, 30 Apr 2015 00:43:11 -0400 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>; 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 Cc: Chanwoo Choi , Inki Dae , Krzysztof Kozlowski 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= 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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;