diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-07-29 15:01:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-30 16:55:15 -0700 |
commit | 3bb7c3abe34349a5f3615159d80aaee25c34e2a7 (patch) | |
tree | d614c67bd894d968b1d285402de544ab06b3a08a /lib/string_helpers.c | |
parent | 7a9e24eb4c40ea3afcd64269353c4f6c8139f0eb (diff) |
staging: comedi: mite: pass comedi_device to mite_setup()
For aesthetics, pass the comedi_device to mite_setup() and mite_setup2()
so that the dev->class_dev can be used in the dev_{level} message to make
the messages have consistancy with the other comedi drivers.
Remove the extra dev_warn() noise in the drivers when mite_setup() fails.
Rename the 'use_iodwbsr_1' parameter and change it to a bool.
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions