]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: pcl812: convert hardware type defines into an enum
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 Oct 2015 22:47:25 +0000 (15:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:20:48 +0000 (21:20 -0700)
commitce78bf2f2f4e3708930ba0d13dec6d561e6b780d
tree2e5bb224961c47861d1812f565b66b1a208de4c4
parent5f669eb41f29f41458d34abbbcf3a699b56f883b
staging: comedi: pcl812: convert hardware type defines into an enum

For aesthetics, convert these defines into an enum and rename the
CamelCase. Fix the switch() code to use the enum without warnings.

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