w1: omap_hdq: use wait_event_timeout to wait for read to complete.
authorNeilBrown <neilb@suse.de>
Mon, 21 May 2012 23:43:02 +0000 (09:43 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 23:37:04 +0000 (16:37 -0700)
There is no gain in having a loop - there is no risk of missing the
interrupt with wait_event_timeout.

Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/omap_hdq.c

Simple merge