Re: [PATCH 03/14] cpufreq: Add support for per-policy driver data

From: Viresh Kumar
Date: Wed Jul 09 2014 - 11:07:55 EST


On 9 July 2014 20:03, Santosh Shilimkar <santosh.shilimkar@xxxxxx> wrote:
>> diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
>> index ec4112d..d4b1108 100644
>> --- a/include/linux/cpufreq.h
>> +++ b/include/linux/cpufreq.h
>> @@ -112,6 +112,9 @@ struct cpufreq_policy {
>> spinlock_t transition_lock;
>> wait_queue_head_t transition_wait;
>> struct task_struct *transition_task; /* Task which is doing the transition */
>> +
>> + /* For cpufreq driver's internal use */
>> + void *driver_data;
>> };
>>
> Minor comment for consistency either maintain same commenting style
> for the above structure (description after the variable) or may
> be clean up the comments in another patch.

Adding these to the end of variable makes it take multiple lines as we need
to break after 80 columns. And both the styles are already mixed
in existing file. So, would fix it separately in case I go for it :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/