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)
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

Simple merge