aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/ds2781_battery.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-05-22 09:43:02 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-13 16:37:04 -0700
commitb7e938d06d0de43bdbee8844a8736c81480c1031 (patch)
tree6574fe98a3c82f21b13a96cf313435b4553ed3e9 /drivers/power/ds2781_battery.c
parentw1: omap_hdq: Fix some error/debug handling. (diff)
downloadlinux-dev-b7e938d06d0de43bdbee8844a8736c81480c1031.tar.xz
linux-dev-b7e938d06d0de43bdbee8844a8736c81480c1031.zip
w1: omap_hdq: use wait_event_timeout to wait for read to complete.
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>
Diffstat (limited to 'drivers/power/ds2781_battery.c')
0 files changed, 0 insertions, 0 deletions