workqueue: rename first_worker() to first_idle_worker()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 22 May 2014 08:44:07 +0000 (16:44 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 22 May 2014 15:35:51 +0000 (11:35 -0400)
commit1037de36edae30f1ddc0a2532decd50f92ac4901
tree3b79dc2d386d79ae339161a1e3cde1f0665d1ea0
parentcafebac153ae54fd0aba5d4ad28af995532c5375
workqueue: rename first_worker() to first_idle_worker()

first_worker() actually returns the first idle workers, the name
first_idle_worker() which is self-commnet will be better.

All the callers of first_worker() expect it returns an idle worker,
the name first_idle_worker() with "idle" notation makes reviewers happier.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c