staging: comedi: dt282x: convert printk() in dt282x_attach to a dev_err()
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
ab49581ace
commit
753b53d9b1
|
@ -1133,7 +1133,7 @@ static int dt282x_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
|||
!= DT2821_SUPCSR_VAL) ||
|
||||
((inw(dev->iobase + DT2821_TMRCTR) & DT2821_TMRCTR_MASK)
|
||||
!= DT2821_TMRCTR_VAL)) {
|
||||
printk(KERN_ERR " board not found");
|
||||
dev_err(dev->class_dev, "board not found\n");
|
||||
return -EIO;
|
||||
}
|
||||
/* should do board test */
|
||||
|
|
Loading…
Reference in New Issue