Staging: comedi: remove comedi-specific wrappers
[deliverable/linux.git] / drivers / staging / comedi / drivers / dt2815.c
index d83ee4acbb19c0b7e9cdab0c082f659ec4375416..b42dec60e1b7a7cbf3a0683ab4fcfa6096ed42b1 100644 (file)
@@ -135,7 +135,7 @@ static int dt2815_ao_insn(struct comedi_device *dev, struct comedi_subdevice *s,
 
                status = dt2815_wait_for_status(dev, 0x00);
                if (status != 0) {
-                       rt_printk
+                       printk
                                ("dt2815: failed to write low byte on %d reason %x\n",
                                chan, status);
                        return -EBUSY;
@@ -145,7 +145,7 @@ static int dt2815_ao_insn(struct comedi_device *dev, struct comedi_subdevice *s,
 
                status = dt2815_wait_for_status(dev, 0x10);
                if (status != 0x10) {
-                       rt_printk
+                       printk
                                ("dt2815: failed to write high byte on %d reason %x\n",
                                chan, status);
                        return -EBUSY;
@@ -226,7 +226,7 @@ static int dt2815_attach(struct comedi_device *dev, struct comedi_devconfig *it)
                /* This is incredibly slow (approx 20 ms) */
                unsigned int status;
 
-               comedi_udelay(1000);
+               udelay(1000);
                status = inb(dev->iobase + DT2815_STATUS);
                if (status == 4) {
                        unsigned int program;
This page took 0.024061 seconds and 5 git commands to generate.