]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: adv_pci1723: tidy up DIO io_bits initialization
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 21 Nov 2014 21:22:33 +0000 (14:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:40:00 +0000 (15:40 -0800)
commit348aeaa712e315b6ced688e4d7152136479b047d
tree8fd1cda929be121eadbc1ad51bc258f9e8961c44
parent0f35abd5edaea253ab73e77c26d3393f589f4ae1
staging: comedi: adv_pci1723: tidy up DIO io_bits initialization

Tidy up the code that determines the initial io_bits (direction) of the
digital I/O subdevice and remove the magic numbers.

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/adv_pci1723.c