staging: comedi: adl_pci9111: remove pci9111_ai_channel_[gs]et macros
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 02:01:31 +0000 (19:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:05:56 +0000 (20:05 -0700)
commit0f0bde920c3ba7333800b874260a917cc408832d
tree42d0178216cc73a6d8b30c391a9c96efe784691d
parentc514bab7cc74a2235ea342a83bb643aee69a62de
staging: comedi: adl_pci9111: remove pci9111_ai_channel_[gs]et macros

These macros rely on a local variable having a specific name.

The comedi code makes sure the channel number is valid so the mask
of PCI9111_CHANNEL_MASK can be remove.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9111.c