staging: comedi: ni_660x: rename the CamelCase enum NI_660x_Register and labels
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 19 Dec 2013 23:32:05 +0000 (16:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 19:49:34 +0000 (11:49 -0800)
commit1246f05baa1d0c573802b79092666c38c3671fbd
tree3148cd512f33386eb0c1b24394ffdda1a71ed3e8
parent16cc181d630db4bd75b36979ffaef5d76017cd70
staging: comedi: ni_660x: rename the CamelCase enum NI_660x_Register and labels

As prefered by the CodingStyle, rename this CamelCase enum and its labels.

Also, cleanup the ni_gpct_to_660x_register() helper function. Just return the
ni_660x_register for each ni_gpct_register and remove the unnecessary break
statements after the return statements.

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_660x.c