staging: comedi: usbduxfast: convert pr_warn() to dev_warn()
Use dev_warn() to output the warning message. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
42f4acdf30
commit
2a5cd0a5f1
1 changed files with 1 additions and 1 deletions
|
|
@ -1183,7 +1183,7 @@ static int pcimio_auto_attach(struct comedi_device *dev,
|
|||
|
||||
ret = mite_setup(devpriv->mite);
|
||||
if (ret < 0) {
|
||||
pr_warn("error setting up mite\n");
|
||||
dev_warn(dev->class_dev, "error setting up mite\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue