From: H Hartley Sweeten Date: Tue, 30 Oct 2012 00:09:11 +0000 (-0700) Subject: staging: comedi: addi_eeprom: cleanup i_EepromReadMainHeader() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~796 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a927077c62688d1afefcda6da2a15d14a578a089;p=pandora-kernel.git staging: comedi: addi_eeprom: cleanup i_EepromReadMainHeader() Add namespace by renaming this CamelCase function to addi_eeprom_read_info(). Remove the 'type' parameter. This parameter is a char pointer to the string name of the eeprom type used on the board. This can be found when needed using the dev pointer. Change the parameter order so that the comedi_device pointer is passed first. The return value is always 0 and it's never checked. Change it to void. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed