]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
driver core: remove polling for driver_probe_done(v5)
authorMing Lei <tom.leiming@gmail.com>
Sat, 21 Feb 2009 08:45:07 +0000 (16:45 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:38:25 +0000 (16:38 -0700)
commitb23530ebc339c4092ae2c9f37341a5398fea8b89
treec8f45452c649273271ac292715d4a76baa5e9148
parent04256b4a8fc73f54cd14f20867882c299728a446
driver core: remove polling for driver_probe_done(v5)

This patch removes 100ms polling for driver_probe_done in
wait_for_device_probe(), and uses wait_event() instead.
Removing polling in fs initialization may lead to
a faster boot.

This patch also changes the return type of wait_for_device_done()
from int to void.

This patch is against Arjan's patch in linux-next tree.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/dd.c
include/linux/device.h