mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 07:16:30 +07:00
staging: comedi: das16: remove reg_dump()
This function just prints some development debug information. There is no reason to leave this in the final driver. 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
1aa4694fb6
commit
9960ad37cf
@ -868,24 +868,6 @@ static void das16_timer_interrupt(unsigned long arg)
|
||||
mod_timer(&devpriv->timer, jiffies + timer_period());
|
||||
}
|
||||
|
||||
static void reg_dump(struct comedi_device *dev)
|
||||
{
|
||||
DEBUG_PRINT("********DAS1600 REGISTER DUMP********\n");
|
||||
DEBUG_PRINT("DAS16_MUX: %x\n", inb(dev->iobase + DAS16_MUX));
|
||||
DEBUG_PRINT("DAS16_DIO: %x\n", inb(dev->iobase + DAS16_DIO));
|
||||
DEBUG_PRINT("DAS16_STATUS: %x\n", inb(dev->iobase + DAS16_STATUS));
|
||||
DEBUG_PRINT("DAS16_CONTROL: %x\n", inb(dev->iobase + DAS16_CONTROL));
|
||||
DEBUG_PRINT("DAS16_PACER: %x\n", inb(dev->iobase + DAS16_PACER));
|
||||
DEBUG_PRINT("DAS16_GAIN: %x\n", inb(dev->iobase + DAS16_GAIN));
|
||||
DEBUG_PRINT("DAS16_CNTR_CONTROL: %x\n",
|
||||
inb(dev->iobase + DAS16_CNTR_CONTROL));
|
||||
DEBUG_PRINT("DAS1600_CONV: %x\n", inb(dev->iobase + DAS1600_CONV));
|
||||
DEBUG_PRINT("DAS1600_BURST: %x\n", inb(dev->iobase + DAS1600_BURST));
|
||||
DEBUG_PRINT("DAS1600_ENABLE: %x\n", inb(dev->iobase + DAS1600_ENABLE));
|
||||
DEBUG_PRINT("DAS1600_STATUS_B: %x\n",
|
||||
inb(dev->iobase + DAS1600_STATUS_B));
|
||||
}
|
||||
|
||||
static int das16_probe(struct comedi_device *dev, struct comedi_devconfig *it)
|
||||
{
|
||||
const struct das16_board *board = comedi_board(dev);
|
||||
@ -918,8 +900,6 @@ static int das1600_mode_detect(struct comedi_device *dev)
|
||||
printk(KERN_INFO " 1MHz pacer clock\n");
|
||||
}
|
||||
|
||||
reg_dump(dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user