forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge back cpufreq material for v5.9.
- Loading branch information
Showing
23 changed files
with
282 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,30 +126,8 @@ static struct cpufreq_governor spu_governor = { | |
.stop = spu_gov_stop, | ||
.owner = THIS_MODULE, | ||
}; | ||
|
||
/* | ||
* module init and destoy | ||
*/ | ||
|
||
static int __init spu_gov_init(void) | ||
{ | ||
int ret; | ||
|
||
ret = cpufreq_register_governor(&spu_governor); | ||
if (ret) | ||
printk(KERN_ERR "registration of governor failed\n"); | ||
return ret; | ||
} | ||
|
||
static void __exit spu_gov_exit(void) | ||
{ | ||
cpufreq_unregister_governor(&spu_governor); | ||
} | ||
|
||
|
||
module_init(spu_gov_init); | ||
module_exit(spu_gov_exit); | ||
cpufreq_governor_init(spu_governor); | ||
cpufreq_governor_exit(spu_governor); | ||
|
||
MODULE_LICENSE("GPL"); | ||
MODULE_AUTHOR("Christian Krafft <[email protected]>"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.