]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_dio200: remove dio200_report_attach()
authorIan Abbott <abbotti@mev.co.uk>
Mon, 18 Mar 2013 17:19:06 +0000 (17:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:30:06 +0000 (11:30 -0700)
commit65c301a70ba1a295a097bde788454c04fd0bca31
treea3b4d0423f4c4b651340212ebb6f5d0703b92b4d
parent154f357af052ea2104e0030ef36c6c27a94611fb
staging: comedi: amplc_dio200: remove dio200_report_attach()

`dio200_report_attach()` is called from `dio200_common_attach()` to
report the successful attachment of a supported board.  It includes
various information about the board.  Replace the function with a simple
acknowledgement that the attachment completed successfully.  The
`dio200_attach()` and `dio200_auto_attach()` functions also output an
message during the attachment.  Include extra information in those
messages to compensate for the removal of the information output by
`dio200_report_attach()`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c