staging: comedi: ni_mio_cs: remove setting dev->driver
The comedi core sets the dev->driver pointer before calling the comedi_driver attach function. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
a7538b8271
Коммит
b8f4c930e0
|
@ -335,7 +335,6 @@ static int mio_cs_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
|||
if (!link)
|
||||
return -EIO;
|
||||
|
||||
dev->driver = &driver_ni_mio_cs;
|
||||
dev->iobase = link->resource[0]->start;
|
||||
|
||||
irq = link->irq;
|
||||
|
|
Загрузка…
Ссылка в новой задаче