PM / OPP: Mark cpumask as const in dev_pm_opp_set_sharing_cpus()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 27 Apr 2016 03:22:22 +0000 (08:52 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 28 Apr 2016 13:18:18 +0000 (15:18 +0200)
commitdde370b23c1787a9c723ac049d56a3014937f889
tree13411e8f79d48bc1bdc0668b9b8df1ec0f42aa0a
parentd708b384c06dddeb35d46a6127c08a7403fa2faf
PM / OPP: Mark cpumask as const in dev_pm_opp_set_sharing_cpus()

dev_pm_opp_set_sharing_cpus() isn't supposed to update the cpumask
passed as its parameter, and so it should always have been marked
'const'.

Do it now.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/cpu.c
include/linux/pm_opp.h