Re: [PATCH] ACPI/Cpureq: Using cpufreq_freq_attr_rw macro to define CPB(Core Performance Boost) attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, August 13, 2013 10:05:53 AM tianyu.lan@xxxxxxxxx wrote:
> From: Lan Tianyu <tianyu.lan@xxxxxxxxx>
> 
> Standardise the defintion of attribute cpb in the acpi-cpufreq driver
> via cpufreq_freq_attr_rw macro.
> 
> Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>

Queued up for 3.12.

Thanks,
Rafael


> ---
>  drivers/cpufreq/acpi-cpufreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c
> index e673670..414ee4d 100644
> --- a/drivers/cpufreq/acpi-cpufreq.c
> +++ b/drivers/cpufreq/acpi-cpufreq.c
> @@ -197,7 +197,7 @@ static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf)
>  	return sprintf(buf, "%u\n", boost_enabled);
>  }
>  
> -static struct freq_attr cpb = __ATTR(cpb, 0644, show_cpb, store_cpb);
> +cpufreq_freq_attr_rw(cpb);
>  #endif
>  
>  static int check_est_cpu(unsigned int cpuid)
> 
-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux