From: H Hartley Sweeten Date: Thu, 20 Nov 2014 22:07:36 +0000 (-0700) Subject: staging: comedi: ni_labpc_common: use comedi_timeout() when writing to eeprom X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f86288fc54865164e0439ea5d8b64d4ec1ad40e;p=pandora-kernel.git staging: comedi: ni_labpc_common: use comedi_timeout() when writing to eeprom Use the comedi_timeout() helper to wait for the eeprom to be ready to accept writes and remove the timeout loop in labpc_eeprom_write(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed