From: H Hartley Sweeten Date: Tue, 5 Mar 2013 17:05:20 +0000 (-0700) Subject: staging: comedi: ni_65xx: remove board() helper function X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~706 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fd80eb0aa4183a2f950f5d34dfcc47812f83371;p=pandora-kernel.git staging: comedi: ni_65xx: remove board() helper function This local helper function is a duplicate of the comedi core privided comedi_board() helper. Use that function instead and use a local variable to hold the boardinfo pointer instead of calling the helper each time the boardinfo is accessed. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed