linux_dsm_epyc7002/drivers/thermal
Andy Shevchenko 42a5bf507d thermal: cut the spaces when user sets policy
Setting policy results in invalid value error.
	% echo "step_wise" > policy
	% echo: write error: Invalid argument

Need clean up of the buffer which "echo" may add based on the arguments, before
comparing aganist list of governor names.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reported-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Tested-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-05-28 10:04:22 +08:00
..
armada_thermal.c thermal: Add driver for Armada 370/XP SoC thermal management 2013-04-02 21:04:09 +08:00
cpu_cooling.c thermal: cpu_cooling: alignment improvements 2013-04-27 09:25:55 +08:00
db8500_cpufreq_cooling.c thermal: db8500_cpufreq_cooling: remove usage of IS_ERR_OR_NULL() 2013-04-27 09:28:38 +08:00
db8500_thermal.c thermal: db8500: Fix missing mutex_unlock() in probe error paths 2013-03-26 22:08:08 +08:00
dove_thermal.c thermal: dove: Fix thermal sensor formula 2013-03-26 22:13:10 +08:00
exynos_thermal.c Merge branch 'exynos-fix' of .git into next 2013-04-25 00:04:06 +08:00
fair_share.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
intel_powerclamp.c Fix mis-merge of intel_powerclamp.c resulting in compile error 2013-02-28 20:23:09 -08:00
Kconfig thermal: cpu_cooling: update Kconfig entry 2013-04-25 00:34:40 +08:00
kirkwood_thermal.c thermal: kirkwood: Fix thermal sensor formula 2013-03-26 22:12:20 +08:00
Makefile Thermal: build cpu_cooling code into thermal_sys module 2013-04-14 23:28:49 +08:00
rcar_thermal.c thermal: rcar: Fix typo in probe information message 2013-05-28 10:04:21 +08:00
spear_thermal.c drivers/thermal/spear_thermal.c: use devm_clk_get 2013-01-04 15:38:25 +08:00
step_wise.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
thermal_core.c thermal: cut the spaces when user sets policy 2013-05-28 10:04:22 +08:00
thermal_core.h Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00
user_space.c Thermal: build thermal governors into thermal_sys module 2013-04-14 23:28:43 +08:00