]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0daf116e735d80627595ee0c887c3e9fa6ab18b
tree61c8c6abc84f56e0097140de0ce403b35ce2acc2
parent9df4aaf704e4ce673da09101b80581eaea2a478f
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