diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-06-18 10:54:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-18 21:19:02 -0700 |
commit | a69153f66f3caef506a6a03a6f6ba76f75f57d29 (patch) | |
tree | c3d09c06b0dc260d6e59584bbe58d69bc0a72f82 /mm/kasan/Makefile | |
parent | cf2f9224e7d0112b2a20056de7f8b23060140a1a (diff) | |
download | op-kernel-dev-a69153f66f3caef506a6a03a6f6ba76f75f57d29.zip op-kernel-dev-a69153f66f3caef506a6a03a6f6ba76f75f57d29.tar.gz |
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 <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/kasan/Makefile')
0 files changed, 0 insertions, 0 deletions