mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
staging: comedi: das16: cleanup printk message in board attach
Convert this printk message into a dev_err(). 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>
This commit is contained in:
parent
b08c4015e6
commit
ccb26aa72c
1 changed files with 2 additions and 3 deletions
|
|
@ -1025,9 +1025,8 @@ static int das16_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
|||
if (it->options[3]) {
|
||||
if (it->options[3] != 0 &&
|
||||
it->options[3] != 1 && it->options[3] != 10) {
|
||||
printk
|
||||
("\n Invalid option. Master clock must be set "
|
||||
"to 1 or 10 (MHz)\n");
|
||||
dev_err(dev->class_dev,
|
||||
"Invalid option. Master clock must be set to 1 or 10 (MHz)\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue