]> 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)
commitb259e391f01937355a32a46889c96d1a570bfbd0
tree61c8c6abc84f56e0097140de0ce403b35ce2acc2
parent54b5f564f6133b0ff434e76ad9874e86f120aa6a
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