cpufreq: make return type of lock_policy_rwsem_{read|write}() as void
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 2 Oct 2013 08:43:09 +0000 (14:13 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Oct 2013 00:51:14 +0000 (02:51 +0200)
commit1b750e3bdae5b2d0f3d377b0c56e7465f85b67f2
tree61c8c6abc84f56e0097140de0ce403b35ce2acc2
parent42a4df0026b36d2a8fcfb6a3e79a3d0e1b05714d
cpufreq: make return type of lock_policy_rwsem_{read|write}() as void

lock_policy_rwsem_{read|write}() currently has return type of int,
but it always returns zero and hence its return type should be void
instead. This patch makes that change and modifies all of the users
accordingly.

Reported-by: Jon Medhurst<tixy@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c