From: H Hartley Sweeten Date: Tue, 30 Oct 2012 00:07:45 +0000 (-0700) Subject: staging: comedi: addi_eeprom: cleanup i_EepromReadDigitalInputHeader() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~801 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4e05f0c881a8a1152ac6f2e24ed0bccc41d045;p=pandora-kernel.git staging: comedi: addi_eeprom: cleanup i_EepromReadDigitalInputHeader() Add namespace by renaming this CamelCase function to addi_eeprom_read_di_info(). Refactor the function so that it stores the data from the eeprom directly in the private data instead of using the a struct to pass the data back to i_EepromReadMainHeader(). This allows removing the str_DigitalInputHeader struct. Leave the reads of the unused eeprom data for now. 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