From: H Hartley Sweeten Date: Tue, 14 May 2013 20:39:34 +0000 (-0700) Subject: staging: comedi: usbduxfast: tidy up firmwareUpload() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~642 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b4997e60ed6d1f114b722051cd29718d1b8fc91;p=pandora-kernel.git staging: comedi: usbduxfast: tidy up firmwareUpload() Rename the CamelCase function and just pass the const struct firmware * directly instead of parsing out the data and size. Rename the CamelCasae local val 'fwBuf'. Use goto to provide a common exit path that frees the local buffer for the firmware when an error is encountered. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed