From patchwork Thu Jul 16 11:26:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 51169 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7DBF122A28 for ; Thu, 16 Jul 2015 11:32:38 +0000 (UTC) Received: by wgfk9 with SMTP id k9sf18142144wgf.1 for ; Thu, 16 Jul 2015 04:32:37 -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=YjjTRSyAN7x3HVDLMmZEhCGfhHMWGNjw7xBAkA0JCg4=; b=ghIZYj6LB//SBA1FiI3ubzwQ7tN65dgHZGl9dv+Q7bvEpQf+0a7O7tG6UzsxnC5Lbd IZGHWknUylqWWmOUoNWHbaVTCQnx6vdpLxIEgCZijWnnRKQ0VUrcsM0MvJ4Zd+/aHj// XL2pceXa8Kb0lOTMDPBpA7GXZAL6LUdgltV3a3BojFAMcFy/rtzVqsZgOazJxovCDhLT 0IoQjxTvZkj26dZUKrAimAZu0zrmll9pIC3U6cCX1zkCt7FMqwVcJuQMEzlFccZrqqC8 UPBWG+jgtOhxNeJBZVjIl0lshLPlUh3DyUZ5v4Ibh0BuJMy9ePl9UdOQ32WiG4HFnBXe FFSQ== X-Gm-Message-State: ALoCoQktUOE9EaBMi35I2vACLD6Uucf/xX2w0KdcdzQodJ3cb3xX4NkJJy+XOFeX56XTLl+7haFx X-Received: by 10.180.97.9 with SMTP id dw9mr1670892wib.2.1437046357833; Thu, 16 Jul 2015 04:32:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.136 with SMTP id dc8ls374805lad.101.gmail; Thu, 16 Jul 2015 04:32:37 -0700 (PDT) X-Received: by 10.152.88.106 with SMTP id bf10mr8835695lab.1.1437046357631; Thu, 16 Jul 2015 04:32:37 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id rl9si6703384lac.65.2015.07.16.04.32.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 04:32:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbbyj8 with SMTP id yj8so41868009lbb.0 for ; Thu, 16 Jul 2015 04:32:37 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr8895477laj.88.1437046357414; Thu, 16 Jul 2015 04:32:37 -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 hn6csp193908lbb; Thu, 16 Jul 2015 04:32:36 -0700 (PDT) X-Received: by 10.68.245.42 with SMTP id xl10mr17583091pbc.153.1437046355522; Thu, 16 Jul 2015 04:32:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gw10si12469517pbd.230.2015.07.16.04.32.33; Thu, 16 Jul 2015 04:32:35 -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 S932294AbbGPLcb (ORCPT + 27 others); Thu, 16 Jul 2015 07:32:31 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:36120 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755211AbbGPL2c (ORCPT ); Thu, 16 Jul 2015 07:28:32 -0400 Received: by pachj5 with SMTP id hj5so41553450pac.3 for ; Thu, 16 Jul 2015 04:28:32 -0700 (PDT) X-Received: by 10.66.55.41 with SMTP id o9mr17662115pap.148.1437046112182; Thu, 16 Jul 2015 04:28:32 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id he9sm7700652pbc.7.2015.07.16.04.28.30 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 16 Jul 2015 04:28:31 -0700 (PDT) From: Viresh Kumar To: Thomas Gleixner , Daniel Lezcano Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Viresh Kumar , Martin Schwidefsky , Heiko Carstens , linux390@de.ibm.com, linux-s390@vger.kernel.org, Christoph Lameter , Ingo Molnar , John Stultz , Peter Zijlstra , Xunlei Pang Subject: [PATCH 14/23] s390/time: Migrate to new 'set-state' interface Date: Thu, 16 Jul 2015 16:56:26 +0530 Message-Id: <2acfde0fe9240c30c4d758befb1f54827b171702.1437044517.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.172 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 s390 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: Martin Schwidefsky Cc: Heiko Carstens Cc: linux390@de.ibm.com Cc: linux-s390@vger.kernel.org Signed-off-by: Viresh Kumar --- arch/s390/kernel/time.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 9e733d965e08..0a90d17132a9 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c @@ -117,11 +117,6 @@ static int s390_next_event(unsigned long delta, return 0; } -static void s390_set_mode(enum clock_event_mode mode, - struct clock_event_device *evt) -{ -} - /* * Set up lowcore and control register of the current cpu to * enable TOD clock and clock comparator interrupts. @@ -145,7 +140,6 @@ void init_cpu_timer(void) cd->rating = 400; cd->cpumask = cpumask_of(cpu); cd->set_next_event = s390_next_event; - cd->set_mode = s390_set_mode; clockevents_register_device(cd);