cpufreq: governor: Drop gov_cancel_work()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Jun 2016 23:45:32 +0000 (01:45 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jun 2016 21:39:29 +0000 (23:39 +0200)
commitf6709b8aa78fb6765c443ad6b70fdaf48b89d95d
tree842513a06b76d9bd13c3ade2c187f8846f835051
parent9d4de2904ef0add3006df8896bfd07f534c44dd8
cpufreq: governor: Drop gov_cancel_work()

There's no reason for gov_cancel_work() to exist at all, as it only
has one caller and the only thing done by that caller is to invoke
gov_cancel_work().

Accordingly, drop gov_cancel_work() and move its contents to the
caller.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq_governor.c