From: H Hartley Sweeten Date: Thu, 18 Jun 2015 17:54:58 +0000 (-0700) Subject: staging: comedi: ni_atmio: cleanup ni_getboardtype() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ee02fe1a100f57a2d35e78c38d22dedddc52ff4;p=pandora-kernel.git staging: comedi: ni_atmio: cleanup ni_getboardtype() Make this function return a pointer to the boardinfo instead of an index. For aesthetics, rename the function to ni_atmio_probe(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed