mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 12:55:24 -04:00
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:
committed by
Greg Kroah-Hartman
parent
42f4acdf30
commit
2a5cd0a5f1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user