From: H Hartley Sweeten Date: Fri, 18 Jan 2013 17:48:25 +0000 (-0700) Subject: staging: comedi: addi_apci_16xx: cleanup addi_find_boardinfo() X-Git-Tag: v3.9-rc1~127^2~374 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e2bd50b393084a338a6a21063ef012c5a2720fb;p=pandora-kernel.git staging: comedi: addi_apci_16xx: cleanup addi_find_boardinfo() This function was originally in the addi-data "common" code and required using pointer math to access the boardinfo data using the void * 'dev->driver->board_name'. Now that the function is local to this driver we can access the boardinfo directly and remove the pointer math. Rename the function so it has namespace associated with this driver. Also, for aesthetic reasons, globally rename the local variable used for the boardinfo pointer from 'this_board' to 'board', Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed