]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: 8255: remove have_irg and refactor subdev_8255_init_irq
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 13 Jun 2012 22:42:21 +0000 (15:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:19:15 +0000 (17:19 -0700)
commit34cfcf9acc6b0697e71294007c57eae91b80005c
treed3773dbd510070fd84cf1b701fa33ba54d3c8b16
parentcc31b1be67bf4b878157e276056b6dbce76fdb45
staging: comedi: 8255: remove have_irg and refactor subdev_8255_init_irq

The have_irq variable in the 8255 private data is not used by the driver,
remove it.  This removes the need to access the private data in the
subdev_8255_init_irq function.

Also, add a bit of whitespace to improve the readability.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/8255.c