diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-12-03 05:07:52 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-07 02:20:23 +0100 |
commit | 5e4500d8dba16d88b528cf037566b84747ec23f0 (patch) | |
tree | 32830a50e58f9e7cdba5e2e3a6662722fb53fd42 /crypto/seqiv.c | |
parent | cpufreq: governor: Pass policy as argument to ->gov_dbs_timer() (diff) | |
download | linux-5e4500d8dba16d88b528cf037566b84747ec23f0.tar.xz linux-5e4500d8dba16d88b528cf037566b84747ec23f0.zip |
cpufreq: governor: initialize/destroy timer_mutex with 'shared'
timer_mutex is required to be initialized only while memory for 'shared'
is allocated and in a similar way it is required to be destroyed only
when memory for 'shared' is freed.
There is no need to do the same every time we start/stop the governor.
Move code to initialize/destroy timer_mutex to the relevant places.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'crypto/seqiv.c')
0 files changed, 0 insertions, 0 deletions