PM / OPP: using kfree_rcu() to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 31 Oct 2012 00:29:17 +0000 (01:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:36:10 +0000 (00:36 +0100)
commitea83f81b489be3be268ed7fabfe8dd94bdc45a29
tree02a79b38fec0c8fad31acbfa03b820ae00c242af
parent0779726cc265805d0f7c7dd1d791fa4076b31a9a
PM / OPP: using kfree_rcu() to simplify the code

The callback function of call_rcu() just calls a kfree(), so we
can use kfree_rcu() instead of call_rcu() + callback function.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c