cpufreq: intel_pstate: Fix missing return statement
authorZhang Rui <rui.zhang@intel.com>
Mon, 28 Sep 2020 03:33:42 +0000 (11:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Sep 2020 15:37:23 +0000 (17:37 +0200)
commitfc7d17551f776fda243493ce59894c1eec2a339f
treee7eee184dac7a3138094caf64aaf31001b504d78
parenta1b8638ba1320e6684aa98233c15255eb803fac7
cpufreq: intel_pstate: Fix missing return statement

Fix missing return statement when writing "off" to intel_pstate status
sysfs I/F.

Fixes: 55671ea3257a ("cpufreq: intel_pstate: Free memory only when turning off")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c