From patchwork Sat Feb 9 01:08:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 2119461 X-Patchwork-Delegate: lenb@kernel.org Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id B65103FD56 for ; Sat, 9 Feb 2013 01:10:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1947649Ab3BIBIr (ORCPT ); Fri, 8 Feb 2013 20:08:47 -0500 Received: from mail-ve0-f176.google.com ([209.85.128.176]:46021 "EHLO mail-ve0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1947640Ab3BIBIq (ORCPT ); Fri, 8 Feb 2013 20:08:46 -0500 Received: by mail-ve0-f176.google.com with SMTP id cz10so3824603veb.21 for ; Fri, 08 Feb 2013 17:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:reply-to:organization; bh=uhJ7TYMJXzTzssOWr7nU56GhPahAMxuigimq6DYAAj4=; b=xNFc7SWmoiznLjO6WSh6UQdAS8tiYoUXJDuxRfUvgAtOOc52K8ufSAQyAZmBVF5zwD F4EGqfmarCPhwRGU5hkW4rKrwg8wqeURHEMGFmkHIbT6m/zFkK1VmVTpqvpQPAgaH5AU LcnutsT/qTNhAXS9USd1PvTHNYb6aClzcsa4+NrLAP3POYzbStJ9IIsAYbGReBx+EK4Z 0KolPdwc+t7xWquNPK/vtWfTPYfyqjBse5CxvAlZnbrCXXAjX/Lob/4KcZvH23sq5tsz 9/xFL980vCqmlVw79Kmuki4aod7diAliM1JSSHP1+ogacmEk/ImeGWeJGVd1XgoKfJhm 31LQ== X-Received: by 10.58.171.38 with SMTP id ar6mr9479063vec.23.1360372125391; Fri, 08 Feb 2013 17:08:45 -0800 (PST) Received: from x980.localdomain6 (pool-108-7-58-246.bstnma.fios.verizon.net. [108.7.58.246]) by mx.google.com with ESMTPS id e8sm5806990vdt.7.2013.02.08.17.08.43 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 08 Feb 2013 17:08:44 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown Subject: [PATCH 10/16] cpuidle: remove vestage definition of cpuidle_state_usage.driver_data Date: Fri, 8 Feb 2013 20:08:14 -0500 Message-Id: X-Mailer: git-send-email 1.8.1.3.535.ga923c31 In-Reply-To: <1360372100-28482-1-git-send-email-lenb@kernel.org> References: <1360372100-28482-1-git-send-email-lenb@kernel.org> In-Reply-To: References: Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Len Brown This field is no longer used. Signed-off-by: Len Brown Acked-by: Daniel Lezcano --- include/linux/cpuidle.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 24cd1037..480c14d 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -32,8 +32,6 @@ struct cpuidle_driver; ****************************/ struct cpuidle_state_usage { - void *driver_data; - unsigned long long disable; unsigned long long usage; unsigned long long time; /* in US */ @@ -62,26 +60,6 @@ struct cpuidle_state { #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) -/** - * cpuidle_get_statedata - retrieves private driver state data - * @st_usage: the state usage statistics - */ -static inline void *cpuidle_get_statedata(struct cpuidle_state_usage *st_usage) -{ - return st_usage->driver_data; -} - -/** - * cpuidle_set_statedata - stores private driver state data - * @st_usage: the state usage statistics - * @data: the private data - */ -static inline void -cpuidle_set_statedata(struct cpuidle_state_usage *st_usage, void *data) -{ - st_usage->driver_data = data; -} - struct cpuidle_device { unsigned int registered:1; unsigned int enabled:1;