staging: comedi: usbduxfast: convert pr_warn() to dev_warn()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 17 Jul 2014 19:27:29 +0000 (12:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:00:42 +0000 (18:00 -0700)
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>
drivers/staging/comedi/drivers/ni_pcimio.c

index 1532fac7638ef89beb6f34e0a894ae6c42ee730e..a902a38913513b19b56f4afb07441c7d66c6c53b 100644 (file)
@@ -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;
        }