From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH 10/16] cpuidle: remove vestage definition of cpuidle_state_usage.driver_data Date: Mon, 11 Feb 2013 09:48:00 +0100 Message-ID: <5118B040.9010600@linaro.org> References: <1360372100-28482-1-git-send-email-lenb@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-wg0-f44.google.com ([74.125.82.44]:34162 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751025Ab3BKIr7 (ORCPT ); Mon, 11 Feb 2013 03:47:59 -0500 Received: by mail-wg0-f44.google.com with SMTP id dr12so4394267wgb.23 for ; Mon, 11 Feb 2013 00:47:58 -0800 (PST) In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Len Brown Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown On 02/09/2013 02:08 AM, Len Brown wrote: > From: Len Brown >=20 > This field is no longer used. >=20 > Signed-off-by: Len Brown Acked-by: Daniel Lezcano > --- > include/linux/cpuidle.h | 22 ---------------------- > 1 file changed, 22 deletions(-) >=20 > 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; > ****************************/ > =20 > 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 { > =20 > #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) > =20 > -/** > - * 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 *da= ta) > -{ > - st_usage->driver_data =3D data; > -} > - > struct cpuidle_device { > unsigned int registered:1; > unsigned int enabled:1; >=20 --=20 Linaro.org =E2=94=82 Open source software for= ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog