]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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, 31 Oct 2012 20:06:34 +0000 (21:06 +0100)
commitfb9499702dff217b8cb79778cf9c3b198d3c0e47
tree1c2c86c2d2f66e265c934ba7dd1c2a6305b8af58
parent9b1d0d0103f40edb1480ff933fd53e584a0ad188
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