staging: comedi: cb_pcidas: absorb cal_enable_bits()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 19 Oct 2015 16:43:58 +0000 (09:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:15:22 +0000 (19:15 -0700)
commit042bac563b28c8067fa958470dd5c1dc31d42cb2
tree18f627292aaa888523312abc9be95ed4460bb646
parent46c95d970fc2a2c9e7abc0560bbba7155f615982
staging: comedi: cb_pcidas: absorb cal_enable_bits()

This inline function just returns the bits needd to enable
a calibration source. For aethetics, absorb it into the callers.
Sorten the variable name in the private data used to hold the
current calibration source.

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