]> 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)
commite791ee21ddd8c7cd8c92cd66173a7e7fc2508943
tree2e5bb224961c47861d1812f565b66b1a208de4c4
parent941a0405ebdc02d26a88f3bf82338126d4a87028
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