From patchwork Thu Jun 18 10:54:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 50005 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 52D0A228CC for ; Thu, 18 Jun 2015 10:56:49 +0000 (UTC) Received: by laka10 with SMTP id a10sf20396978lak.2 for ; Thu, 18 Jun 2015 03:56:48 -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: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=Jq5ly6i4o+RH8kjJlahVQRp7wTpELfMuDP464uRXPK8=; b=F9ZWt/ikNfnEK9gP2J18ByUlNJbC3inr1xxQ3zNIjhA9RTlDInvBJOs60lwt0m+5e3 uKrcqzGOdAfLFPAPlqS9WdevtfQx2BAuiCGCH3WJXJgn59AReQxvdXs/6fWns5OnQzBM wJMqIUqmQ+BPL5Oxfp83QAZ5qnW3NibhRdS6TEnWxeADkf+IZsLHyAWAXSQ7kgz7M+w7 tsuAuAgPrPxp0zGn88SY6r2Q6K2OKSjE4MYasnkwcgK3+hvv+33LNhN/cv3S/G9hQJcO rzAz0u3SLTNPegUlP+PsmONuWMWy0g4yNFhglGsLNfKC7N/6eKs8fhWyva+yypYUShtn ajJQ== X-Gm-Message-State: ALoCoQl6ZMI0D2G9gOLcMEJSQyY3uDTwA83euTcun1k3LISsJ+8PRFOfUFS2RMSipUAc7h3aRj2f X-Received: by 10.152.42.208 with SMTP id q16mr9829529lal.9.1434625008289; Thu, 18 Jun 2015 03:56:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.133 with SMTP id y5ls455925laj.19.gmail; Thu, 18 Jun 2015 03:56:48 -0700 (PDT) X-Received: by 10.112.77.103 with SMTP id r7mr12235349lbw.63.1434625007981; Thu, 18 Jun 2015 03:56:47 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id p10si6172398lae.91.2015.06.18.03.56.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 03:56:47 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbbvz5 with SMTP id vz5so1578980lbb.0 for ; Thu, 18 Jun 2015 03:56:47 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr12425177laj.88.1434625007808; Thu, 18 Jun 2015 03:56:47 -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 hn6csp1094991lbb; Thu, 18 Jun 2015 03:56:46 -0700 (PDT) X-Received: by 10.66.230.168 with SMTP id sz8mr20676501pac.4.1434625005067; Thu, 18 Jun 2015 03:56:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pn8si10829313pbb.126.2015.06.18.03.56.43; Thu, 18 Jun 2015 03:56:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S932400AbbFRK4V (ORCPT + 30 others); Thu, 18 Jun 2015 06:56:21 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35336 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754337AbbFRKzP (ORCPT ); Thu, 18 Jun 2015 06:55:15 -0400 Received: by pacyx8 with SMTP id yx8so59038320pac.2 for ; Thu, 18 Jun 2015 03:55:15 -0700 (PDT) X-Received: by 10.66.63.71 with SMTP id e7mr19630967pas.57.1434624915052; Thu, 18 Jun 2015 03:55:15 -0700 (PDT) Received: from localhost ([122.167.70.98]) by mx.google.com with ESMTPSA id u8sm7682616pdj.46.2015.06.18.03.55.13 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 18 Jun 2015 03:55:14 -0700 (PDT) From: Viresh Kumar To: Thomas Gleixner , Daniel Lezcano Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Viresh Kumar , Alexander Shiyan Subject: [PATCH 03/41] clocksource: clps711x: Migrate to new 'set-state' interface Date: Thu, 18 Jun 2015 16:24:17 +0530 Message-Id: <1d4c008b44c41c5ee8f124a93e520e566b621503.1434622147.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@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.217.175 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: , Migrate clps711x driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in the ->set_mode() callback. So, this patch doesn't provide any set-state callbacks. Cc: Alexander Shiyan Signed-off-by: Viresh Kumar --- drivers/clocksource/clps711x-timer.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/clocksource/clps711x-timer.c b/drivers/clocksource/clps711x-timer.c index d83ec1f2fddc..cdd86e3525bb 100644 --- a/drivers/clocksource/clps711x-timer.c +++ b/drivers/clocksource/clps711x-timer.c @@ -61,11 +61,6 @@ static irqreturn_t clps711x_timer_interrupt(int irq, void *dev_id) return IRQ_HANDLED; } -static void clps711x_clockevent_set_mode(enum clock_event_mode mode, - struct clock_event_device *evt) -{ -} - static int __init _clps711x_clkevt_init(struct clk *clock, void __iomem *base, unsigned int irq) { @@ -91,7 +86,6 @@ static int __init _clps711x_clkevt_init(struct clk *clock, void __iomem *base, clkevt->name = "clps711x-clockevent"; clkevt->rating = 300; clkevt->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_C3STOP; - clkevt->set_mode = clps711x_clockevent_set_mode; clkevt->cpumask = cpumask_of(0); clockevents_config_and_register(clkevt, HZ, 0, 0);