diff options
author | Ming Lei <tom.leiming@gmail.com> | 2009-02-21 16:45:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 16:38:25 -0700 |
commit | b23530ebc339c4092ae2c9f37341a5398fea8b89 (patch) | |
tree | c8f45452c649273271ac292715d4a76baa5e9148 /drivers/base/base.h | |
parent | 04256b4a8fc73f54cd14f20867882c299728a446 (diff) | |
download | linux-b23530ebc339c4092ae2c9f37341a5398fea8b89.tar.gz linux-b23530ebc339c4092ae2c9f37341a5398fea8b89.tar.bz2 linux-b23530ebc339c4092ae2c9f37341a5398fea8b89.zip |
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>
Diffstat (limited to 'drivers/base/base.h')
0 files changed, 0 insertions, 0 deletions