From patchwork Thu Jun 18 10:54:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 50003 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 F1BE2228CC for ; Thu, 18 Jun 2015 10:56:11 +0000 (UTC) Received: by lagh6 with SMTP id h6sf20481722lag.0 for ; Thu, 18 Jun 2015 03:56:10 -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=+YTOdX5h43Ty17TdLtuizYNnqYORr6LM3nWYw+t584s=; b=g5RbVUoF3IH6sPZKLy0dHCnZ9diJvlRwz19uF5DJCg0fUfEOAIvBX57cydcxQGWjK+ 1Z4lR16k/x8JEzsj6dAK/vaCN584AwUY1Y1hZoqhAiypsx4O5X/dmt1tTlz2ZYYnSPJk e9w2VsCRGKUZHJFKlCl23OZYTvUKe5A0JFDZcxiVw3UxGWIOVH9ce8rF6czT0XTFCLR3 NJG5mw3ZpNtCx/fHXwdvSGkqsZOI6XsM2DFnvrkUFFGPhjkSXR7ClHAuaLlqJ649aTlk BRJvoJ3OClQ9bNYn2/TPlaLPKF0NHj9K6TLNq6UgTbItqH+3nnirGMcEhJVj4ajF3D35 GX4w== X-Gm-Message-State: ALoCoQmRcNUE0TqC6PslzlUk+dPx1jKWKGVAvWaD+APHrPpTCh4XLa0N9gxprdqzQaV2Hb2/3x9b X-Received: by 10.112.14.101 with SMTP id o5mr9700834lbc.3.1434624970874; Thu, 18 Jun 2015 03:56:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.41 with SMTP id bd9ls447013lab.109.gmail; Thu, 18 Jun 2015 03:56:10 -0700 (PDT) X-Received: by 10.112.204.6 with SMTP id ku6mr12302408lbc.73.1434624970630; Thu, 18 Jun 2015 03:56:10 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id k9si6164308lah.119.2015.06.18.03.56.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 03:56:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbbqq2 with SMTP id qq2so49645056lbb.3 for ; Thu, 18 Jun 2015 03:56:10 -0700 (PDT) X-Received: by 10.152.37.228 with SMTP id b4mr12207878lak.117.1434624970490; Thu, 18 Jun 2015 03:56:10 -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 hn6csp1094682lbb; Thu, 18 Jun 2015 03:56:09 -0700 (PDT) X-Received: by 10.66.168.105 with SMTP id zv9mr20018722pab.121.1434624967827; Thu, 18 Jun 2015 03:56:07 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vk3si10825928pbc.139.2015.06.18.03.56.06; Thu, 18 Jun 2015 03:56:07 -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 S932286AbbFRKz4 (ORCPT + 30 others); Thu, 18 Jun 2015 06:55:56 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:36771 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753996AbbFRKzT (ORCPT ); Thu, 18 Jun 2015 06:55:19 -0400 Received: by paceq1 with SMTP id eq1so34541176pac.3 for ; Thu, 18 Jun 2015 03:55:18 -0700 (PDT) X-Received: by 10.66.182.229 with SMTP id eh5mr20270656pac.18.1434624918505; Thu, 18 Jun 2015 03:55:18 -0700 (PDT) Received: from localhost ([122.167.70.98]) by mx.google.com with ESMTPSA id gp1sm7627763pbd.64.2015.06.18.03.55.17 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 18 Jun 2015 03:55:17 -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 , Mark Rutland Subject: [PATCH 04/41] clocksource: dummy_timer: Migrate to new 'set-state' interface Date: Thu, 18 Jun 2015 16:24:18 +0530 Message-Id: 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.171 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 dummy_timer driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. We weren't doing anything in the ->set_mode() callback. So, this patch doesn't provide any set-state callbacks. Cc: Mark Rutland Signed-off-by: Viresh Kumae --- drivers/clocksource/dummy_timer.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/clocksource/dummy_timer.c b/drivers/clocksource/dummy_timer.c index 31990600fcff..776b6c86dcd5 100644 --- a/drivers/clocksource/dummy_timer.c +++ b/drivers/clocksource/dummy_timer.c @@ -16,15 +16,6 @@ static DEFINE_PER_CPU(struct clock_event_device, dummy_timer_evt); -static void dummy_timer_set_mode(enum clock_event_mode mode, - struct clock_event_device *evt) -{ - /* - * Core clockevents code will call this when exchanging timer devices. - * We don't need to do anything here. - */ -} - static void dummy_timer_setup(void) { int cpu = smp_processor_id(); @@ -35,7 +26,6 @@ static void dummy_timer_setup(void) CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_DUMMY; evt->rating = 100; - evt->set_mode = dummy_timer_set_mode; evt->cpumask = cpumask_of(cpu); clockevents_register_device(evt);