staging: comedi: pcl812: clarify pcl812_reset()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Mar 2014 18:30:26 +0000 (11:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 01:06:19 +0000 (17:06 -0800)
commit708df4c4491ccbe70748de56fbd9ee239b22e751
tree652ba6cb5946d127b14aa58c4332bff43c6d9fe5
parent1be6b015e7549aae113d31bbd0ce948ba85f262c
staging: comedi: pcl812: clarify pcl812_reset()

Instead of using the 'board_type' and the switch, use the boardinfo
to determine what should be reset.

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