From: H Hartley Sweeten Date: Thu, 20 Nov 2014 22:07:35 +0000 (-0700) Subject: staging: comedi: ni_labpc_common: use subdevice readback for eeprom X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45c311c4384c4e50881b18928edf5d0d2ea0b640;p=pandora-kernel.git staging: comedi: ni_labpc_common: use subdevice readback for eeprom Use the comedi_subdevice 'readback' member and the core provided (*insn_read) to handle the readback of the eeprom subdevice. Remove the then unused 'eeprom_data' member from the private data. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed