staging: comedi: ni_at_a2150: cleanup a2150_probe()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 18 Jun 2015 17:54:43 +0000 (10:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Jun 2015 04:19:01 +0000 (21:19 -0700)
commit30f23066424f8fc46e56f41195c51b33fdf36f58
tree198c0283a37adb5a0edd58e438a9568a96d57742
parent6e2b126dbda1f874b262fa212cc1cb0c2f6a9fe8
staging: comedi: ni_at_a2150: cleanup a2150_probe()

Make this function return a pointer to the boardinfo instead of an index.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_at_a2150.c