dt9812: use CR_CHAN() for channel number
authorIan Abbott <abbotti@mev.co.uk>
Tue, 5 Mar 2013 13:21:01 +0000 (13:21 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Tue, 5 Mar 2013 13:21:01 +0000 (13:21 +0000)
commit65265f37f5e3d2d9cc83ebb88e88f63c667c39bb
tree1fe51a9bb852ccee54dfa1c05774840ae484588e
parenteb5a78af97c3e9f3e56b20d0bd16bf6f2588f10f
dt9812: use CR_CHAN() for channel number

Use `CR_CHAN(insn->chanspec)` for the channel number instead of
`insn->chanspec`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/dt9812.c