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: 49365 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 78B5920BD1 for ; Tue, 2 Jun 2015 12:33:20 +0000 (UTC) Received: by wgme6 with SMTP id e6sf40171104wgm.3 for ; Tue, 02 Jun 2015 05:33:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=5zF5LI2JdHR4xP2fA3c5b9mWCnGSuvLNzHxyu+UqHr0=; b=EfKluJQd0galCaPEHPy8K9c9WIj8V9iBT9h8RdqyLoDO9rQlLhOdAkp6QzVJ1MvRsm VKjCPAQd4Pq6DpwodsJJhbxCLrLI6QnRwHQuihPvLK8+p+nKyWAoahomjAf5RS48Mqt7 KqsdvoCRdA0YFxcHprtD7h2dKrRxxYbw4+K+1RACUXuy7CA4nUvA37s974+gSpKvZyVy WxWd+Exf+8H+sEdTgtehlG5gmCtuGNQcDYLS67ReBXUwYC3MResvdkAisUg/a/RUgojx OH7Tj3zDAlUcFDUpbm4DaxEMKk/pY2IV1v5Bzes2yRrw+z2F7Jb8no4rk5cpIZlIo0x+ tVXw== X-Gm-Message-State: ALoCoQnn7pICKUgknpApFuUvGrHkPLCwyd4Kk4EsrMm60cbPMtAmR6fI+QEKmFCwz0Yekl9u0yFp X-Received: by 10.112.14.101 with SMTP id o5mr25367653lbc.3.1433248399655; Tue, 02 Jun 2015 05:33:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.161 with SMTP id jp1ls27978lab.96.gmail; Tue, 02 Jun 2015 05:33:19 -0700 (PDT) X-Received: by 10.112.25.10 with SMTP id y10mr25758544lbf.61.1433248399504; Tue, 02 Jun 2015 05:33:19 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id ot8si14936710lbb.177.2015.06.02.05.33.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jun 2015 05:33:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by laei3 with SMTP id i3so36363430lae.3 for ; Tue, 02 Jun 2015 05:33:19 -0700 (PDT) X-Received: by 10.112.93.37 with SMTP id cr5mr4376994lbb.106.1433248399402; Tue, 02 Jun 2015 05:33:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3031179lbb; Tue, 2 Jun 2015 05:33:18 -0700 (PDT) X-Received: by 10.66.123.81 with SMTP id ly17mr50391565pab.31.1433248397544; Tue, 02 Jun 2015 05:33:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dz4si26162785pab.142.2015.06.02.05.33.16; Tue, 02 Jun 2015 05:33:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758844AbbFBMdI (ORCPT + 4 others); 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-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: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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;