[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5118B040.9010600@linaro.org>
Date: Mon, 11 Feb 2013 09:48:00 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Len Brown <lenb@...nel.org>
CC: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Len Brown <len.brown@...el.com>
Subject: Re: [PATCH 10/16] cpuidle: remove vestage definition of cpuidle_state_usage.driver_data
On 02/09/2013 02:08 AM, Len Brown wrote:
> From: Len Brown <len.brown@...el.com>
>
> This field is no longer used.
>
> Signed-off-by: Len Brown <len.brown@...el.com>
Acked-by: Daniel Lezcano <daniel.lezcano@...aro.org>
> ---
> 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;
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists