From patchwork Tue Jun 2 12:31:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 6528491 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B8A93C0020 for ; Tue, 2 Jun 2015 12:33:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 00C6220421 for ; Tue, 2 Jun 2015 12:33:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 263F920573 for ; Tue, 2 Jun 2015 12:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758844AbbFBMdI (ORCPT ); Tue, 2 Jun 2015 08:33:08 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:35756 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758868AbbFBMc6 (ORCPT ); Tue, 2 Jun 2015 08:32:58 -0400 Received: by wgme6 with SMTP id e6so138648537wgm.2 for ; Tue, 02 Jun 2015 05:32:56 -0700 (PDT) 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=FlUsJsV9tIhFz3LPs7Se60X1NivGm0Ows+ddBb9jNf0=; b=NQL6hzZFnR9cVBSEqaStjVmdJGBLhO+lqh8cytDdU5xvbMZtHiD+1SA3nnJZhAnWLw 1uAmPMTYK0i5+W0o0hWEU/dAXJQEhSo6QR6fAgNx0UrMFiIo8a7rRwDTP7LEe5C3hx2t SdpIsgE9or4xTTVnPwwww5t6b/CLmcCmtjyJnIP0jzGw4Cy5qS7XakI7dmbJ24X7p3kj vDmiOhlEGtQwDKfQOEHmSH4kyQu8h+QsFT3/g0hTN92OUroyo9J04wESeE5U8NyM161+ hQqINOqRYfvd40mg3aiAIP6CuZB88z+hnrgbpQq84iqrU5/oVqFUDX6ZTs54O4tWb2Tm Rakg== X-Gm-Message-State: ALoCoQl3MGuWwkmSXJOqW5SYnwEEgvznRE+mdxP/BR3MaPTRgZGk9fLBaIsEmGb4/7M9IRmlxtKe X-Received: by 10.194.81.234 with SMTP id d10mr51376432wjy.84.1433248376105; Tue, 02 Jun 2015 05:32:56 -0700 (PDT) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by mx.google.com with ESMTPSA id tl3sm26620396wjc.20.2015.06.02.05.32.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Jun 2015 05:32:55 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: Krzysztof Kozlowski , Kukjin Kim , linux-kernel@vger.kernel.org (open list:CLOCKSOURCE, CLOC...), linux-arm-kernel@lists.infradead.org (moderated list:ARM/SAMSUNG EXYNO...), linux-samsung-soc@vger.kernel.org (moderated list:ARM/SAMSUNG EXYNO...) Subject: [PATCH 04/11] clocksource/drivers/exynos_mct: Remove old platform mct_init() Date: Tue, 2 Jun 2015 14:31:49 +0200 Message-Id: <1433248316-26320-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433248316-26320-1-git-send-email-daniel.lezcano@linaro.org> References: <556DA1E5.1030601@linaro.org> <1433248316-26320-1-git-send-email-daniel.lezcano@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=-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 From: Krzysztof Kozlowski 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 Signed-off-by: Daniel Lezcano --- 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 8b2a9fc..935b059 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;