aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2015-12-03 09:37:52 +0530
committerRafael J. Wysocki <[email protected]>2015-12-07 02:20:23 +0100
commit5e4500d8dba16d88b528cf037566b84747ec23f0 (patch)
tree32830a50e58f9e7cdba5e2e3a6662722fb53fd42 /drivers/fpga/fpga-mgr.c
parentaffde5d06af1e39c2929e36a063e3912f02fc58f (diff)
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions