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

From: Dmitry Osipenko
Date: Wed Oct 21 2020 - 22:30:33 EST


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?