Re: [PATCH v4 2/2] PM / devfreq: Add governor attribute flag for specifc sysfs nodes

From: Chanwoo Choi
Date: Wed Oct 21 2020 - 22:32:24 EST


On 10/22/20 11:30 AM, Dmitry Osipenko wrote:
> 20.10.2020 06:04, Chanwoo Choi пишет:
>> /**
>> * struct devfreq_governor - Devfreq policy governor
>> * @node: list node - contains registered devfreq governors
>> * @name: Governor's name
>> + * @attr: Governor's sysfs attribute flag
>> * @flags: Governor's feature flags
>> * @get_target_freq: Returns desired operating frequency for the device.
>> * Basically, get_target_freq will run
>> @@ -57,6 +68,7 @@ struct devfreq_governor {
>> struct list_head node;
>>
>> const char name[DEVFREQ_NAME_LEN];
>> + const u64 attr;
>> const u64 flags;
>
> What about to use plural for the "attrs" as well?
>
>

OK. I'll edit it.


--
Best Regards,
Chanwoo Choi
Samsung Electronics