]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: mpc624: tidy up subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 6 Oct 2015 00:33:29 +0000 (17:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:24:11 +0000 (21:24 -0700)
commit90f2f1e1f70da0ac3571b4d086dcbba433ba1941
treef9afcfb12d90c354118ca1a0e57df855b8d1fb0a
parenteee73f8abc5a7bec1e41594cc38d03bb161a561a
staging: comedi: mpc624: tidy up subdevice init

For aesthetics, add some whitespace to the subdevice init. Remove the
unnecessary switch() code used to set the maxdata and range_table.

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