From: H Hartley Sweeten Date: Thu, 18 Jun 2015 17:54:47 +0000 (-0700) Subject: staging: comedi: das800: cleanup das800_probe() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a69153f66f3caef506a6a03a6f6ba76f75f57d29;p=pandora-kernel.git staging: comedi: das800: cleanup das800_probe() Make this function return a pointer to the boardinfo instead of an index. Since it's not typical, add a comment to clarify why this legacy driver does a probe. For aesthetics, rename the local variable 'board' to 'index. Consolidate the dev_dbg() messages when a probed boardinfo is used and remove the extra dev_dbg() message when the boardinfo is not found. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed