Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 753b53d9 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: dt282x: convert printk() in dt282x_attach to a dev_err()



Convert this printk message into a dev_err().

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ab49581a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1133,7 +1133,7 @@ static int dt282x_attach(struct comedi_device *dev, struct comedi_devconfig *it)
	     != DT2821_SUPCSR_VAL) ||
	     != DT2821_SUPCSR_VAL) ||
	    ((inw(dev->iobase + DT2821_TMRCTR) & DT2821_TMRCTR_MASK)
	    ((inw(dev->iobase + DT2821_TMRCTR) & DT2821_TMRCTR_MASK)
	     != DT2821_TMRCTR_VAL)) {
	     != DT2821_TMRCTR_VAL)) {
		printk(KERN_ERR " board not found");
		dev_err(dev->class_dev, "board not found\n");
		return -EIO;
		return -EIO;
	}
	}
	/* should do board test */
	/* should do board test */