]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: drivers: use dev->board_name in request_irq()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Sat, 19 Jul 2014 00:01:24 +0000 (17:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 21:43:01 +0000 (14:43 -0700)
commit71e068743a5e4061a7a3c42cc3ac6dbda7a7f76e
treeb980d9ff32b6020398c0b92c391cf859846ba81b
parent3d03cfcaf6cde186f439ca1a318423007570760a
staging: comedi: drivers: use dev->board_name in request_irq()

Most of the comedi drivers use the dev->board_name for the id string
passed to request_irq(). Fix the couple that still pass something
else.

Also, propogate the errno from request_irq().

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>
drivers/staging/comedi/drivers/cb_pcidas.c
drivers/staging/comedi/drivers/cb_pcidas64.c
drivers/staging/comedi/drivers/ni_660x.c
drivers/staging/comedi/drivers/ni_atmio.c