commit | 127301cb5dc094ea449173a5f24c8326b2369ead | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Mar 07 13:41:01 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 17 12:38:53 2014 -0700 |
tree | a5a551e19522cc3526b8d2eb1decbc6886043a2e | |
parent | 01fca4732b98ab59de087fafd96359f5d206169f [diff] |
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 <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>