lkml.org 
[lkml]   [2020]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 2/2] PM / devfreq: Add governor attribute flag for specifc sysfs nodes
From
Date
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?

\
 
 \ /
  Last update: 2020-10-22 04:31    [W:0.059 / U:5.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site