staging: comedi: cb_pcidda: cleanup DADATA define
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 24 Oct 2012 23:33:45 +0000 (16:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 02:35:50 +0000 (19:35 -0700)
commit87c4e2c62e507625af7cab5f46a019ab17d95bb7
tree6b123f3e8ba0abd7c85ae044305d962139ced3a2
parentbe2fcdbf91f77c7658f87a782a86a3cfc0775b2d
staging: comedi: cb_pcidda: cleanup DADATA define

Rename the define used for the D/A Data register so that is has
namespace with this driver. Change the define so that it takes
the channel as a parameter to calculate the correct register
offset.

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