staging: comedi: amplc_dio200: remove 'has_clk_gat_sce' from subdevice
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:47:54 +0000 (16:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:11 +0000 (15:25 -0700)
commit4bb4021762c33e65645244a965001454cbda6145
treecc237156e4c833cfe184685e88b0d08cae995c64
parenta56a8a3c4979b0c968a53ab9cdbf6887e8e6ba1e
staging: comedi: amplc_dio200: remove 'has_clk_gat_sce' from subdevice

The `has_clk_gat_sce` member of `struct dio200_subdev_8254` indicates
whether the board has clock and gate source selection registers.  The
same information can be obtained from read-only board layout data so
doesn't need to be set per '8254' counter subdevice.  Eliminate the
member and use the read-only data instead.  The last parameter of
`dio200_subdev_8254_init()` is used to initialize this member, so remove
that parameter as well.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c