cpufreq: interactive: Add error checking on sysfs interfaces
authorAllen Martin <amartin@nvidia.com>
Thu, 30 Jun 2011 23:59:19 +0000 (16:59 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:51 +0000 (21:38 -0800)
commita7c29e35d3c78f9180eeedf9a740479a5f50aa5a
tree6b665f63b6bb7d8bc3333bea2dabbb4502ff87df
parent841212573f95bb02a1b447211300fd9b31e5fa80
cpufreq: interactive: Add error checking on sysfs interfaces

This adds better error checking on tunable parameters on sysfs
interfaces.  Also fixes return value from these functions, previously
on success they would return 0 which would cause a infinite loop.

Change-Id: Ic05038492166f8673d007202092471f98a2f0dfa
Signed-off-by: Allen Martin <amartin@nvidia.com>
drivers/cpufreq/cpufreq_interactive.c