]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/base/power/opp/core.c
PM / OPP rename 'head' as 'rcu_head' or 'srcu_head' based on its type
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 25 Nov 2014 10:34:16 +0000 (16:04 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 29 Nov 2014 22:53:20 +0000 (23:53 +0100)
commitcd1a068a52ee6a3331a62fe53e87d6ca6cfd68a5
treee98ed5da190763fc727e236706a8e534c63ca4e1
parent5d01410fe4d92081f349b013a2e7a95429e4f2c9
PM / OPP rename 'head' as 'rcu_head' or 'srcu_head' based on its type

Both 'struct dev_pm_opp' and 'struct device_opp' have member with name 'head'
but with different types. This leads to confusion while reading the code.

Name them 'rcu_head' and 'srcu_head'.

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