Merge branch 'pm-cpufreq'
* pm-cpufreq: cpufreq: intel_pstate: Fix missing return statement
This commit is contained in:
commit
7bbe8f2a7e
|
@ -2781,6 +2781,7 @@ static int intel_pstate_update_status(const char *buf, size_t size)
|
||||||
|
|
||||||
cpufreq_unregister_driver(intel_pstate_driver);
|
cpufreq_unregister_driver(intel_pstate_driver);
|
||||||
intel_pstate_driver_cleanup();
|
intel_pstate_driver_cleanup();
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (size == 6 && !strncmp(buf, "active", size)) {
|
if (size == 6 && !strncmp(buf, "active", size)) {
|
||||||
|
|
Loading…
Reference in New Issue