]> git.karo-electronics.de Git - linux-beck.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)
commitb20d6f793c5bd0493b26d04cbc7ce04c1c5cea0e
tree2e5bb224961c47861d1812f565b66b1a208de4c4
parent026d7877c89ee23d632181f23b4a37e73fe985b7
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