]> rtime.felk.cvut.cz Git - linux-imx.git/commit
staging: comedi: pcl724: tidy up pcl724_attach()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 10 Jun 2013 17:16:15 +0000 (10:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jun 2013 00:16:46 +0000 (17:16 -0700)
commit57aade1daebfdabf0028a13857dc8e85558e1c25
tree4b6d85103b14a77a24783f3fea9d670e8d42bd2b
parent84f7db9d8f9ee9bcee16143aab93b68b43e7e5cc
staging: comedi: pcl724: tidy up pcl724_attach()

Consolidate the special handling of the 'hoard->can_have96' flag.
This flag overrides the iorange and n_subdevices for the PCL-724
board when it is used in a 96 DIO configuration.

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