From: H Hartley Sweeten Date: Fri, 7 Mar 2014 20:41:01 +0000 (-0700) Subject: staging: comedi: jr3_pci: tidy up jr3_download_firmware() X-Git-Tag: v3.15-rc1~139^2~314 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=127301cb5dc094ea449173a5f24c8326b2369ead;p=pandora-kernel.git staging: comedi: jr3_pci: tidy up jr3_download_firmware() This callback function for comedi_load_firmware() first validates that the firmware data is the correct format then it writes the data to each subdevice. Split the two operations out as separate functions to clarify the code. Tidy up the new functions. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed