]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/comedi/drivers/dyna_pci10xx.c
staging: comedi: auto-config drivers do not need to set hw_dev
[~andy/linux] / drivers / staging / comedi / drivers / dyna_pci10xx.c
index 98e2ffb1992951293b60e62428b536370193ca04..c345660d781aacf9b0bdaf490a2cdd59f15d7b36 100644 (file)
@@ -186,8 +186,6 @@ static int dyna_pci10xx_attach_pci(struct comedi_device *dev,
        struct comedi_subdevice *s;
        int ret;
 
-       comedi_set_hw_dev(dev, &pcidev->dev);
-
        dev->board_name = dev->driver->driver_name;
 
        devpriv = kzalloc(sizeof(*devpriv), GFP_KERNEL);