File tree Expand file tree Collapse file tree 4 files changed +0
-12
lines changed
translations/zh_CN/cpu-freq Expand file tree Collapse file tree 4 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,6 @@ And optionally
75
75
.resume - A pointer to a per-policy resume function which is called
76
76
with interrupts disabled and _before_ the governor is started again.
77
77
78
- .ready - A pointer to a per-policy ready function which is called after
79
- the policy is fully initialized.
80
-
81
78
.attr - A pointer to a NULL-terminated list of "struct freq_attr" which
82
79
allow to export values to sysfs.
83
80
Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ CPUfreq核心层注册一个cpufreq_driver结构体。
80
80
.resume - 一个指向per-policy恢复函数的指针,该函数在关中断且在调节器再一次开始前被
81
81
调用。
82
82
83
- .ready - 一个指向per-policy准备函数的指针,该函数在策略完全初始化之后被调用。
84
-
85
83
.attr - 一个指向NULL结尾的"struct freq_attr"列表的指针,该函数允许导出值到
86
84
sysfs。
87
85
Original file line number Diff line number Diff line change @@ -1517,10 +1517,6 @@ static int cpufreq_online(unsigned int cpu)
1517
1517
1518
1518
kobject_uevent (& policy -> kobj , KOBJ_ADD );
1519
1519
1520
- /* Callback for handling stuff after policy is ready */
1521
- if (cpufreq_driver -> ready )
1522
- cpufreq_driver -> ready (policy );
1523
-
1524
1520
if (cpufreq_thermal_control_enabled (cpufreq_driver ))
1525
1521
policy -> cdev = of_cpufreq_cooling_register (policy );
1526
1522
Original file line number Diff line number Diff line change @@ -367,9 +367,6 @@ struct cpufreq_driver {
367
367
int (* suspend )(struct cpufreq_policy * policy );
368
368
int (* resume )(struct cpufreq_policy * policy );
369
369
370
- /* Will be called after the driver is fully initialized */
371
- void (* ready )(struct cpufreq_policy * policy );
372
-
373
370
struct freq_attr * * attr ;
374
371
375
372
/* platform specific boost support code */
You can’t perform that action at this time.
0 commit comments