]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_mio_common: tidy up the PFI subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 14 Jul 2014 19:24:03 +0000 (12:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:24:44 +0000 (13:24 -0700)
commit90801045b1cf61eec86ac838922d19bc283aa84c
tree3e5ed442e08cb4be932719f9b138a463f6d26da8
parente74d75083f8a444e0ed954e0ec131b62ebfb881b
staging: comedi: ni_mio_common: tidy up the PFI subdevice init

For aesthetics, add some whitespace to the subdevice init and
tidy it up a bit.

Remove the need for the extra local variable.

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