staging: comedi: aio_aio12_8: cleanup dev->board_name usage
This legacy driver does no additional probing so the dev->board_name will already be properly initialized by the comedi core before calling the (*attach) function. Remove the unnecessary initialization of dev->board_name. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
efe4567c54
commit
044c2e1756
1 changed files with 0 additions and 2 deletions
|
@ -203,8 +203,6 @@ static int aio_aio12_8_attach(struct comedi_device *dev,
|
|||
int iobase;
|
||||
int ret;
|
||||
|
||||
dev->board_name = board->name;
|
||||
|
||||
iobase = it->options[0];
|
||||
if (!request_region(iobase, 32, dev->board_name)) {
|
||||
printk(KERN_ERR "I/O port conflict");
|
||||
|
|
Loading…
Add table
Reference in a new issue